com.aspose.font

Interfaces

Classes

Enums

Exceptions

com.aspose.font

Class TtcFontSource



  • public class TtcFontSource
    extends Object

    Represents TTC Font source.

    • Constructor Detail

      • TtcFontSource

        public TtcFontSource(StreamSource source)

        Creates TTC Font source based on IStreamSource stream providing object.

        Parameters:
        source - Source stream to extract TTC Font collection data from.
      • TtcFontSource

        public TtcFontSource(String filePath)

        Creates TTC Font source based on ttc font collection file path.

        Parameters:
        filePath - Font collection file.
    • Method Detail

      • getFontDefinitions

        public FontDefinition[] getFontDefinitions()

        Returns Font definition array of the TTC Font source.

        Returns:
        All font definitions from TTC Font source.