PDF4Java Reference Documentation
com.o2sol.pdf4java.graphics.fonts.truetype Package / PDFTrueTypeFont Class / getGlyphEmWidth Method
the index of the glyph to get its width
Collapse All Expand All
In This Topic

getGlyphEmWidth Method
In This Topic
Gets the Em width of the given glyph when drawn with this font Object.
Syntax

    public int getGlyphEmWidth(
       int glyph
    )

#### Parameters

glyph
  the index of the glyph to get its width

#### Return Value

The width of the glyph in Em units.
See Also

#### Reference

PDFTrueTypeFont Class
PDFTrueTypeFont Members

© 2025 O2 Solutions All Rights Reserved.

Send comments on this topic.