Skip to content

Commit

Permalink
Merge pull request #46 from maykon-t/master
Browse files Browse the repository at this point in the history
Revert change in fixed width condition
  • Loading branch information
synopse committed Apr 28, 2021
2 parents b1d4264 + f99ac5e commit 52e6f7d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion SynPdf.pas
Expand Up @@ -6672,7 +6672,7 @@ function TPdfCanvas.SetFont(ADC: HDC; const ALogFont: TLogFontW; ASize: single):
if ALogFont.lfWeight>=FW_SEMIBOLD then
include(AStyle,pfsBold);
result := SetFont(AName,ASize,AStyle,ALogFont.lfCharSet,-1,
(ALogFont.lfPitchAndFamily and 3) = FIXED_PITCH);
ALogFont.lfPitchAndFamily and TMPF_FIXED_PITCH=0);
end;

procedure TPdfCanvas.TextOut(X, Y: Single; const Text: PDFString);
Expand Down

0 comments on commit 52e6f7d

Please sign in to comment.