diff options
-rw-r--r-- | src/corelib/render/software/agg-demos/Agg2DConsole.dpr | 5 | ||||
-rw-r--r-- | src/corelib/render/software/agg_basics.pas | 4 |
2 files changed, 5 insertions, 4 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} diff --git a/src/corelib/render/software/agg_basics.pas b/src/corelib/render/software/agg_basics.pas index cc116cfe..56eb6fba 100644 --- a/src/corelib/render/software/agg_basics.pas +++ b/src/corelib/render/software/agg_basics.pas @@ -357,8 +357,8 @@ type procedure NoP; { These implementations have changed to use FPC's Sar*() functions, so should - now support all platforms with ASM code. At a later date these functions - could be removed completely. } + now support all platforms without the need for ASM code. At a later date these + functions could be removed completely. } function shr_int8 (i ,shift : int8 ) : int8; inline; function shr_int16(i ,shift : int16 ) : int16; inline; function shr_int32(i ,shift : int ) : int; inline; |