« Return to Thread: Problem extracting a named font from PDF using a script

Problem extracting a named font from PDF using a script

by Jonathan Goodwin :: Rate this Message:

Reply to Author | View in Thread

To load a specific font out of a PDF, my script uses:

  Open("doc000000015.pdf(CCKDIE+SavoyePlain)")

However, instead of getting the named font CCKDIE+SavoyePlain (or SavoyePlain), Fontforge instead just opens the first font in the PDF.

I know that Fontforge is able to retrieve a named font within the PDF, as I am able to select any specific font when I run Fontforge as a user.

In the script, I am using the parenthesis notation used to select one font out of a font file containing multiple fonts. Is there perhaps a different syntax for a PDF file? Or something else I am missing to do this?

Any help would be appreciated.

------------------------------------------------------------------------------
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay
ahead of the curve. Join us from November 9 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference
_______________________________________________
Fontforge-users mailing list
Fontforge-users@...
https://lists.sourceforge.net/lists/listinfo/fontforge-users

 « Return to Thread: Problem extracting a named font from PDF using a script