com.aspose.font

Interfaces

Classes

Enums

Exceptions

com.aspose.font

Interface IGlyphAccessor

    • Method Detail

      • getGlyphIdType

        GlyphIdType getGlyphIdType()

        Glyph id type specification.

        Returns:
        Id type specification.
      • getAllGlyphIds

        GlyphId[] getAllGlyphIds()

        Returns all glyph ids, available in the Font. Glyph id is a unique number for a glyph, which is font type dependent. For example: Type1's id is a glyph name, instance of (GlyphStringId) class. TTF's id is an int index, instance of (GlyphUInt32Id) class.

        Returns:
        Glyph identifiers.
      • getGlyphsForText

        GlyphId[] getGlyphsForText(String text)

        Get glyphs representation for text.

        Parameters:
        text - Input text.
        Returns:
        GlyphId array.
      • getGlyphById

        Glyph getGlyphById(GlyphId id)

        Returns glyph by glyph id. Glyph id is a unique number for a glyph, which is font type dependent. GlyphId - derived object. For example: Type1's id is a glyph name, instance of (GlyphStringId) class. TTF's id is an int index, instance of (GlyphUInt32Id) class.

        Parameters:
        id - glyph ID.
        Returns:
        Glyph