mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2026-02-19 16:36:35 +01:00
carbon: fix font selection
git-svn-id: trunk@27254 -
This commit is contained in:
parent
fb61563630
commit
4475bded43
@ -508,7 +508,7 @@ begin
|
||||
if SameText(FontName, 'default')
|
||||
then fn:=CarbonDefaultFont
|
||||
else fn:=FontName;
|
||||
if (FontName <> '') then
|
||||
if (fn <> '') then
|
||||
begin
|
||||
OSError(ATSUFindFontFromName(@fn[1], Length(fn),
|
||||
kFontFullName, kFontMacintoshPlatform, kFontRomanScript,
|
||||
|
||||
Loading…
Reference in New Issue
Block a user