mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-09-03 18:21:22 +02:00
TAChart: Fix svg drawer not finding fonts on Mac (https://forum.lazarus.freepascal.org/index.php/topic,45461.msg321532.html).
git-svn-id: trunk@61240 -
This commit is contained in:
parent
636383149c
commit
5014b158a4
@ -53,6 +53,18 @@ begin
|
||||
AList.Add('/usr/local/lib/X11/fonts/');
|
||||
AList.Add(GetUserDir + '.fonts/');
|
||||
{$ENDIF}
|
||||
{$IFDEF LCLCarbon}
|
||||
AList.Add('/Library/Fonts/');
|
||||
AList.Add('/System/Library/Fonts/');
|
||||
AList.Add('/Network/Library/Fonts/');
|
||||
AList.Add('~/Library/Fonts/');
|
||||
{$ENDIF}
|
||||
{$IFDEF LCLCocoa}
|
||||
AList.Add('/Library/Fonts/');
|
||||
AList.Add('/System/Library/Fonts/');
|
||||
AList.Add('/Network/Library/Fonts/');
|
||||
AList.Add('~/Library/Fonts/');
|
||||
{$ENDIF}
|
||||
end;
|
||||
|
||||
function LoadFont(AFontName: String; AStyle: TFreeTypeStyles): TFreeTypeFont;
|
||||
|
Loading…
Reference in New Issue
Block a user