|
PDFsharp - moved to http://forum.pdfsharp.net/ Please visit the new PDFsharp forum at http://forum.pdfsharp.net/
|
Important Notice:
We regret to inform you that our free phpBB forum hosting service will be discontinued by the end of June 30, 2024.
If you wish to migrate to our paid hosting service, please contact billing@hostonnet.com.
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 |
|
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|