Skip to content
Discussion options

You must be logged in to vote

It is generally not possible to re-use a font in this way. The reason for this is that most TrueType and OpenType fonts that are embedded in a PDF have be subset and stripped:

  • If a font has been subset, its name is preceeded by "XXXXXX+" where XXXXXX are ascii letters Subsetting means that only the glyphs that are actually shown in the PDF are included in the font. So if, for example, the letter 'Z' is not used in the PDF, its glyph will not be in the subset.
  • Furthermore, to reduce the size of the subset font it is possible to strip out font tables that are not needed for an embedded font. One of those tables is the CMAP table which allows a program to get the glyph given a Unicode chara…

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Answer selected by gettalong
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants