View previous topic :: View next topic |
Author |
Message |
rossmackenzie
Joined: 16 Nov 2006 Posts: 3
|
Posted: Thu Nov 16, 2006 5:00 pm Post subject: Font Embedding |
|
|
It would be great if PDFSharp could embed fonts, as far as I can see its not supported yet. Is this correct? |
|
Back to top |
|
|
Stefan Lange
Joined: 12 Oct 2006 Posts: 47 Location: Cologne, Germany
|
Posted: Thu Nov 16, 2006 10:06 pm Post subject: |
|
|
You can embed fonts. Use the XFont constructor with XPdfFontOptions as last parameter. Create an XPdfFontOptions(bool embed, bool unicode) for this parameter with embed set to true and the whole font is embedded in the PDF file. |
|
Back to top |
|
|
rossmackenzie
Joined: 16 Nov 2006 Posts: 3
|
Posted: Fri Nov 17, 2006 10:57 am Post subject: Thanks |
|
|
Thanks a lot! That works great. I had to drop the unicode parameter for it to work though. Thats possibly because the fonts I was trying to embed weren't unicode encoded? Thanks again, keep up the good work. |
|
Back to top |
|
|
|