You've already forked lazarus-ccr
carbon: fix for incorrect font size set
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@960 8e941d3f-bd1b-0410-a28a-d453659cc2b4
This commit is contained in:
@ -176,7 +176,7 @@ procedure AttrSetSize(FontSize: Integer; var Attr: TXNTypeAttributes);
|
||||
begin
|
||||
Attr.tag := kTXNQDFontSizeAttribute;
|
||||
Attr.size := kTXNQDFontSizeAttributeSize;
|
||||
Attr.data.dataValue := FontSize;
|
||||
Attr.data.dataValue := Long2Fix(FontSize);
|
||||
end;
|
||||
|
||||
procedure AttrSetStyle(FontStyle: TFontStyles; var Attr: TXNTypeAttributes);
|
||||
|
Reference in New Issue
Block a user