Reputation: 464
I have been having issues trying to get third party monospaced fonts to work properly with PDFsharp. I'm simply installing these fonts to the windows OS.
I do not want to use standard monospace fonts such as Courier new or Consolas.
I have tried many monospace fonts, they all seem to suffer from the same problem when being used by PDFsharp - Their letter spacing is rendered incorrectly (but consistently).
I can get third party non-monospaced fonts to work just fine, such as open sans.
Here are a couple of examples of fonts and their rendered outputs:
Any help would be greatly appreciated.
Upvotes: 0
Views: 490
Reputation: 21689
It looks as if PDFsharp uses a different font for measuring, not the font used for drawing.
Did you reboot the computer after installing the fonts? If the problem persists after a reboot, an SSCCE will help to replicate the problem.
http://sscce.org/
Upvotes: 1