com.aspose.font

Interfaces

Classes

Enums

Exceptions

com.aspose.font

Class TtfPostTable



  • public class TtfPostTable
    extends TtfTableBase

    Represents "post" table of the TTF font file

    • Method Detail

      • getTag

        public static String getTag()

        Gets table tag.

        Returns:
        Table tag.
      • getFormat

        public float getFormat()

        Gets fixed format(version) of this table.

        Returns:
        Fixed format(version) of this table.
      • getItalicAngle

        public float getItalicAngle()

        Gets fixed italicAngle Italic angle in degrees.

        Returns:
        Fixed italicAngle Italic angle in degrees.
      • getUnderlinePosition

        public short getUnderlinePosition()

        Gets FWord underlinePosition Underline position.

        Returns:
        FWord underlinePosition Underline position.
      • getUnderlineThickness

        public short getUnderlineThickness()

        Gets FWord underlineThickness Underline thickness.

        Returns:
        FWord underlineThickness Underline thickness.
      • isFixedPitch

        public long isFixedPitch()

        Gets uint32 isFixedPitch. 0 if the font is proportionally spaced, non-zero if the Font is not proportionally spaced (i.e. monospaced).

        Returns:
        UInt32 isFixedPitch. 0 if the font is proportionally spaced, non-zero if the Font is not proportionally spaced (i.e. monospaced).
      • getMinMemType42

        public long getMinMemType42()

        Gets uint32 minMemType42 Minimum memory usage when a TrueType font is downloaded as a Type 42 Font.

        Returns:
        UInt32 minMemType42 Minimum memory usage when a TrueType font is downloaded as a Type 42 Font.
      • getMaxMemType42

        public long getMaxMemType42()

        Gets uint32 maxMemType42 Maximum memory usage when a TrueType font is downloaded as a Type 42 Font.

        Returns:
        UInt32 maxMemType42 Maximum memory usage when a TrueType font is downloaded as a Type 42 Font.
      • getMinMemType1

        public long getMinMemType1()

        Gets uint32 minMemType1 Minimum memory usage when a TrueType Font is downloaded as a Type 1 Font.

        Returns:
        UInt32 minMemType1 Minimum memory usage when a TrueType Font is downloaded as a Type 1 Font.
      • getMaxMemType1

        public long getMaxMemType1()

        Gets uint32 maxMemType1 Maximum memory usage when a TrueType Font is downloaded as a Type 1 Font.

        Returns:
        UInt32 maxMemType1 Maximum memory usage when a TrueType Font is downloaded as a Type 1 Font.
      • getGlyphName

        public String getGlyphName(long glyphIndex)

        Gets glyph name by glyph index.

        Parameters:
        glyphIndex - Glyph index.
        Returns:
        Glyph name.
      • getGlyphIndex

        public long getGlyphIndex(String glyphName)

        Gets glyph index by glyph name.

        Parameters:
        glyphName - Glyph name.
        Returns:
        Glyph index
      • hasNoPostScriptNames

        public boolean hasNoPostScriptNames()

        Indicates that no PostScript name information is provided for the glyphs in this font file.

        Returns:
        True, if no PostScript name information is provided for the glyphs in this font file. False, otherwise.