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!
Font Matching |
Post Reply |
Author | |
chandy21
Team Player Joined: 23 Sep 09 Status: Offline Points: 20 |
Post Options
Thanks(0)
Posted: 17 Nov 09 at 5:55AM |
I am having a problem where I cannot seem to match Fonts. I have 2 documents, Document A and Document B. Document A is the QuickPDF Reference. I am trying to build a new Doc in Document B using the Fonts in Document A. The First Font is seen as "BitstreamVeraSans", and I save this to a Temp File, and Add it to Doc B from the File. The next time I try to choose the Font, this Font is seen as "Bitstream Vera Sans" (with the spaces) so I do NOT match the name, and add it AGAIN. The second time, the same Font is added with the name "BitstreamVeraSans" and therefore now matches. However, when I get to wanting to use "BitstreamVeraSansBold", I Save it out using SaveFontToFile() and add it to the new Doc B using AddTrueTypeFontFromFile() but it ALWAYS gets read back from Doc B as "BitstreamVeraSans". The Temp file sizes are different, and the comments inside the Font File reference "BitstreamVeraSans" and "BitstreamVeraSansBold", but the FontName property is always "BitstreamVeraSans" in Document B. How is the FontName generated when using AddTrueTypeFontFromFile()? Is there something obvious I am doing wrong? Thanks, Ando. |
|
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