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!

Debenu Quick PDF Library - PDF SDK Community Forum Homepage
Forum Home Forum Home > For Users of the Library > I need help - I can help
  New Posts New Posts RSS Feed - Font Matching
  FAQ FAQ  Forum Search   Register Register  Login Login

Font Matching

 Post Reply Post Reply
Author
Message
chandy21 View Drop Down
Team Player
Team Player
Avatar

Joined: 23 Sep 09
Status: Offline
Points: 20
Post Options Post Options   Thanks (0) Thanks(0)   Quote chandy21 Quote  Post ReplyReply Direct Link To This Post Topic: Font Matching
    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.

Back to Top
 Post Reply Post Reply
  Share Topic   

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 11.01
Copyright ©2001-2014 Web Wiz Ltd.

Copyright © 2017 Debenu. Debenu Quick PDF Library is a PDF SDK. All rights reserved. AboutContactBlogSupportOnline Store