Closed tim-lebedkov closed 2 years ago
Please use the SynPdf repository for this.
But it is very difficult to merge SynPdf fixes. Sometimes it is fixed for one user which send the pull request, but it breaks existing and working code of other users.
Normally this happens if the developer is not skilled enough to manage the project. This is clearly not the case. I can only guess what the actual problem is.
The change in pull request 46 seems to be invalid: https://github.com/synopse/SynPDF/pull/46
Here is the code I used to test this.
The output was: MS Sans Serif 2 Microsoft Sans Serif 2 Courier New 1 Courier 1
This means that "(ALogFont.lfPitchAndFamily and 3) = FIXED_PITCH" would evaluate for the parameter AIsFixedWidth to
MS Sans Serif 2 => False Microsoft Sans Serif 2 => False Courier New 1 => True Courier 1 => True
This is correct.
@maykon-t can you test on your computer?