mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-05-28 18:42:41 +02:00
Fixes compilation of Lazarus with FPC trunk due to the fix to spelling mistake in TFPCustomFont
git-svn-id: trunk@39870 -
This commit is contained in:
parent
154caf4c01
commit
f758bdf235
@ -382,7 +382,7 @@ type
|
||||
property Bold; // only windows
|
||||
property Italic; // only windows
|
||||
property Underline; // not supported
|
||||
property StrikeTrough; // not supported
|
||||
//property StrikeThrough; // not supported, uncomment when FPC 2.6.2+ only is supported
|
||||
end;
|
||||
|
||||
{ TAggFPPath }
|
||||
|
@ -1198,7 +1198,7 @@ begin
|
||||
ADest.Font.Bold := Font.Bold;
|
||||
ADest.Font.Italic := Font.Italic;
|
||||
ADest.Font.Underline := Font.Underline;
|
||||
ADest.Font.StrikeTrough := Font.StrikeThrough;
|
||||
//ADest.Font.StrikeThrough := Font.StrikeThrough; uncomment when FPC 2.6.2+ only is supported
|
||||
{$ifdef USE_LCL_CANVAS}
|
||||
ALCLDest.Font.Orientation := Round(Font.Orientation * 16);
|
||||
{$endif}
|
||||
|
@ -4090,7 +4090,7 @@ begin
|
||||
TM.tmBreakChar := '?';
|
||||
TM.tmItalic := Ord(lFont.Italic);
|
||||
TM.tmUnderlined := Ord(lFont.Underline);
|
||||
TM.tmStruckOut := Ord(lFont.StrikeTrough);
|
||||
//TM.tmStruckOut := Ord(lFont.StrikeThrough); uncomment when FPC 2.6.2+ only is supported
|
||||
|
||||
{ Defaults to a TrueType font.
|
||||
Note that the meaning of the FIXED_PITCH constant is the opposite of
|
||||
|
@ -761,7 +761,7 @@ begin
|
||||
Font.Bold := AFont.Bold;
|
||||
Font.Italic := AFont.Italic;
|
||||
Font.Underline := AFont.Underline;
|
||||
Font.StrikeTrough := AFont.StrikeTrough;
|
||||
//Font.StrikeThrough := AFont.StrikeThrough; uncomment when FPC 2.6.2+ only is supported
|
||||
end;
|
||||
|
||||
{ TFPWindowsSharpInterpolation }
|
||||
|
Loading…
Reference in New Issue
Block a user