diff options
author | Graeme Geldenhuys <graemeg@gmail.com> | 2014-01-24 23:54:49 +0000 |
---|---|---|
committer | Graeme Geldenhuys <graemeg@gmail.com> | 2014-01-24 23:54:49 +0000 |
commit | 2a18d508a2ea2b2ab7ccaccd5ba4aa8fc2c2afeb (patch) | |
tree | c8360c299d884d9f11c0227cc0f7534334bcb5b0 /src/corelib/render | |
parent | f6221ba09df828968093f0443589fd631cb99b49 (diff) | |
download | fpGUI-2a18d508a2ea2b2ab7ccaccd5ba4aa8fc2c2afeb.tar.xz |
aggpas: Agg2D Console demo - improve font location constant for FreeBSD
Diffstat (limited to 'src/corelib/render')
-rw-r--r-- | src/corelib/render/software/agg-demos/Agg2DConsole.dpr | 5 |
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} |