mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-04-05 08:38:14 +02:00
* Fix compilation on windows
This commit is contained in:
parent
ca13ca2089
commit
e1befb165e
@ -188,17 +188,18 @@ Const
|
||||
DefaultFontExtension = '.ttf';
|
||||
DefaultFontExtention = DefaultFontExtension deprecated 'Use DefaultFontExtension';
|
||||
|
||||
Var
|
||||
// Standard location for fonts in the Operating System
|
||||
{$ifdef Darwin}
|
||||
DefaultSearchPath = '/Library/Fonts/';
|
||||
DefaultSearchPath : string = '/Library/Fonts/';
|
||||
{$else}
|
||||
DefaultSearchPath = '';
|
||||
DefaultSearchPath : string = '';
|
||||
{$endif}
|
||||
|
||||
{$IFDEF MAC}
|
||||
DefaultResolution = 72;
|
||||
DefaultResolution : Integer = 72;
|
||||
{$ELSE}
|
||||
DefaultResolution = 96;
|
||||
DefaultResolution : Integer = 96;
|
||||
{$ENDIF}
|
||||
|
||||
implementation
|
||||
|
Loading…
Reference in New Issue
Block a user