Anna Fortuna
Anna Fortuna

Reputation: 1071

Questions about Glyph sizes

I read in the PDF Specification that a glyphs's actual size depends on the Tm, CTM, and other Text state operators. Can anyone explain why?

Say that I have the values of Tm, CTM, and other text state operators (if they are applicable), how will I use them to get the glyph's size and position?

Upvotes: 1

Views: 117

Answers (1)

mark stephens
mark stephens

Reputation: 3184

The CTM and TRM together define a box in which the glyf is displayed. But you would also need to consider things like the Bounding box on the Gylf and the FontBox.

Upvotes: 1

Related Questions