Skip navigation
Currently Being Moderated

How to embed all fonts

Jul 17, 2012 4:07 AM

Hello,

 

I'm looking for a way to easily embed all fonts in my pdf document. Actually I want to embed all fonts which are not embedded (if it's possible and if the fonts are available on my system).

 

Thanks in advance for any information,

Joe

 
Replies
  • Currently Being Moderated
    Jul 17, 2012 12:13 PM   in reply to joeln3

    Easiest way is to simply call on Preflight or the PDFOptimizer to do the work for you.

     
    |
    Mark as:
  • Currently Being Moderated
    Jul 18, 2012 3:02 AM   in reply to joeln3

    You use the SDK or you use the PDFLibrary?

     

    With the SDK and Acrobat, you have access to both Preflight and Optimizer.

     

    With only PDFL, then yes, neither of those options will work.  In that case, you will need to “do it the hard way”.  That involves iterating over all of the text in all of the content streams in the PDF and using the PDEdit APIs to embed them.  I believe there is (or at least there used to be) a sample of this in the SDK.

     
    |
    Mark as:
  • Currently Being Moderated
    Jul 18, 2012 4:36 AM   in reply to joeln3

    True.

     

    EXCEPT that (IIRC) the only APIs that the SDK provides for embedding fonts operate at the time of updating the PDEdit content stream.

     
    |
    Mark as:

More Like This

  • Retrieving data ...

Bookmarked By (0)

Answers + Points = Status

  • 10 points awarded for Correct Answers
  • 5 points awarded for Helpful Answers
  • 10,000+ points
  • 1,001-10,000 points
  • 501-1,000 points
  • 5-500 points