Do you own a Debenu Quick PDF Library version 7, 8, 9, 10, 11, 12, 13 or iSEDQuickPDF license? Upgrade to Debenu Quick PDF Library 14 today!
OTF Font Issue |
Post Reply |
Author | |
rweetch
Senior Member Joined: 22 Feb 11 Status: Offline Points: 173 |
Post Options
Thanks(0)
Posted: 16 May 16 at 11:39PM |
Fonts are the bane of my life.
I have 3 OTF fonts and these are all loaded into the PDF using 'AddOpenTypeFontFromFile' and capturing the font id. The three fonts are a standard, bold and a light version of the same font. When I look at the font by double clicking the font file, it looks fine. When I draw after setting the font, I have 2 issues: 1. the font seems to be drawn using double spacing - i.e. d o u b l e s p a c i n g 2. the bold font isn't bold. I have stepped through the code and it is setting the correct font id. Any ideas? Thanks
|
|
rweetch
Senior Member Joined: 22 Feb 11 Status: Offline Points: 173 |
Post Options
Thanks(0)
|
This has been resolved.
The fonts were added to the PDF and the document saved. This was then reloaded in order to draw to the document. Of course, when the file was saved only fonts that are actually used are saved so these ones were no longer in the file. What confused the issue was that the fonts were installed on the system and the reloaded fonts were then added, but from the system and not from the files.
|
|
Post Reply | |
Tweet
|
Forum Jump | Forum Permissions You cannot post new topics in this forum You cannot reply to topics in this forum You cannot delete your posts in this forum You cannot edit your posts in this forum You cannot create polls in this forum You cannot vote in polls in this forum |
Copyright © 2017 Debenu. Debenu Quick PDF Library is a PDF SDK. All rights reserved. About — Contact — Blog — Support — Online Store