summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGraeme Geldenhuys <graemeg@gmail.com>2014-01-24 23:54:49 +0000
committerGraeme Geldenhuys <graemeg@gmail.com>2014-01-24 23:54:49 +0000
commit2a18d508a2ea2b2ab7ccaccd5ba4aa8fc2c2afeb (patch)
treec8360c299d884d9f11c0227cc0f7534334bcb5b0
parentf6221ba09df828968093f0443589fd631cb99b49 (diff)
downloadfpGUI-2a18d508a2ea2b2ab7ccaccd5ba4aa8fc2c2afeb.tar.xz
aggpas: Agg2D Console demo - improve font location constant for FreeBSD
-rw-r--r--src/corelib/render/software/agg-demos/Agg2DConsole.dpr5
1 files changed, 3 insertions, 2 deletions
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}