From 2a18d508a2ea2b2ab7ccaccd5ba4aa8fc2c2afeb Mon Sep 17 00:00:00 2001 From: Graeme Geldenhuys Date: Fri, 24 Jan 2014 23:54:49 +0000 Subject: aggpas: Agg2D Console demo - improve font location constant for FreeBSD --- src/corelib/render/software/agg-demos/Agg2DConsole.dpr | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'src/corelib/render') diff --git a/src/corelib/render/software/agg-demos/Agg2DConsole.dpr b/src/corelib/render/software/agg-demos/Agg2DConsole.dpr index ae002db6..bc8badbc 100644 --- a/src/corelib/render/software/agg-demos/Agg2DConsole.dpr +++ b/src/corelib/render/software/agg-demos/Agg2DConsole.dpr @@ -23,8 +23,9 @@ const RGBA_Width = 4; LineCount = 30; {$IFDEF Unix} - FontFile = '/usr/share/fonts/truetype/ttf-dejavu/DejaVuSans.ttf'; - {$ELSE} + FontFile = '../../arial.ttf'; + {$ENDIF} + {$IFDEF Windows} FontFile = 'Arial'; {$ENDIF} -- cgit v1.2.3-70-g09d2