com.aspose.font

Interfaces

Classes

Enums

Exceptions

com.aspose.font

Interface IFont

    • Method Detail

      • getFontType

        FontType getFontType()

        Gets Font type.


        Type1, TrueType etc.
        Returns:
        Font type.
      • getStyle

        String getStyle()

        Gets Font style. This is a raw string value provided by Font file.

        Returns:
        Font style.
      • setStyle

        void setStyle(String value)

        Sets Font style. This is a raw string value provided by Font file.

        Parameters:
        value - New Font style.
      • getFontStyle

        int getFontStyle()

        Gets Font style. This is a value computed and represented in generalized type.

        Returns:
        Font style. Usually, a combination of FontStyle class constant flag values or 0.
      • getFontFamily

        String getFontFamily()

        Gets Font family.

        Returns:
        Font family.
      • setFontFamily

        void setFontFamily(String value)

        Sets Font family.

        Parameters:
        value - New Font family.
      • getFontName

        String getFontName()

        Gets Font face name.

        Returns:
        Font face name.
      • setFontName

        void setFontName(String value)

        Sets Font face name.

        Parameters:
        value - New Font face name.
      • getPostscriptNames

        MultiLanguageString getPostscriptNames()

        Gets postscript Font names.

        Returns:
        Postscript Font names.
      • getNumGlyphs

        int getNumGlyphs()

        Gets number of glyphs in the Font.

        Returns:
        Number of glyphs in the Font..
      • getMetrics

        IFontMetrics getMetrics()

        Gets Font metrics.

        Returns:
        Font metrics.
      • getEncoding

        IFontEncoding getEncoding()

        Gets Font encoding.

        Returns:
        Font encoding.
      • getGlyphAccessor

        IGlyphAccessor getGlyphAccessor()

        Gets Font glyph accessor. Retrieves glyphs and glyph identifiers.

        Returns:
        Font glyph accessor.
      • getFontDefinition

        FontDefinition getFontDefinition()

        Gets Font definition.

        Returns:
        Font definition.
      • getFontSaver

        IFontSaver getFontSaver()

        Gets Font save functionality.

        Returns:
        Font save functionality.
      • convert

        Font convert(FontType fontType)

        Converts the Font into another format.

        Parameters:
        fontType - type to convert to font into
        Returns:
        font converted into format specified