com.aspose.font

Interfaces

Classes

Enums

Exceptions

com.aspose.font

Class TtcFontFileDefinition



  • public class TtcFontFileDefinition
    extends FontFileDefinition

    Represents file definition for TTC Font.

    • Constructor Detail

      • TtcFontFileDefinition

        public TtcFontFileDefinition(int fontIndex,
                                     String fileExtension,
                                     StreamSource streamSource,
                                     long offset)

        Creates a file definition using file content only.

        Parameters:
        fontIndex - Index of font inside TTC font collection.
        fileExtension - Extension of font file collection.
        streamSource - Source of font file collection.
        offset - Offset to font data in font file collection, see TTC Header, Offset Table in OpenType Font File specification
    • Method Detail

      • getFontIndex

        public long getFontIndex()

        Gets Font index inside TTC Font.

        Returns:
        Font index inside TTC Font.