mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-05-25 06:22:45 +02:00
Fixes X11 font path and compilation
git-svn-id: trunk@35692 -
This commit is contained in:
parent
276ce26bb5
commit
c65328d7bc
@ -395,6 +395,8 @@ const
|
||||
{$ifdef CD_Cocoa}
|
||||
const
|
||||
CDBackendNativeHandle = nhtCocoaNSWindow;
|
||||
{$define CD_HasNativeFormHandle}
|
||||
{$endif}
|
||||
|
||||
{ TLazCDCustomFont }
|
||||
|
||||
@ -414,9 +416,6 @@ begin
|
||||
inherited Destroy;
|
||||
end;
|
||||
|
||||
{$define CD_HasNativeFormHandle}
|
||||
{$endif}
|
||||
|
||||
{$I customdrawnobject.inc}
|
||||
|
||||
{$I customdrawnwinapi.inc}
|
||||
|
@ -633,7 +633,7 @@ end;*)
|
||||
{$ifndef CD_UseNativeText}
|
||||
function TCDWidgetSet.BackendGetFontPath(const LogFont: TLogFont; const LongFontName: string): string;
|
||||
begin
|
||||
Result := '/Library/Fonts/Arial.ttf';
|
||||
Result := '/usr/share/fonts/TTF/liberation/LiberationSans-Regular.ttf';
|
||||
end;
|
||||
{$endif}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user