Skip to content

is it possible to use the embedded fonts in a pdf file to write another pdf? #1829

Answered by JorjMcKie
leyiwang asked this question in Q&A
Discussion options

You must be logged in to vote

is it possible to use the embedded fonts in a pdf file to write another pdf?

Not as easily as it may seem:
The fonts created by Word's export to PDF are only font subsets: they contain exactly the characters that are used in the docx - no more. So you cannot write the word "hello" with them because this word's characters are not contained in the font subset.

To put it in simple words: you probably can only write the same same text again with each character in its original font.
But even then: the way Word stores its font subsets prevents doing this either, because Word also changes the mapping of unicode to glyph (= visual appearance) number, when creating the font subset.
So if you wan…

Replies: 2 comments 1 reply

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
1 reply
@leyiwang
Comment options

Answer selected by JorjMcKie
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
2 participants
Converted from issue

This discussion was converted from issue #1828 on July 22, 2022 08:14.