Packages

 

com.aspose.cad.xmp.types.complex.font

Class Font

    • Constructor Detail

      • Font

        public Font()

        Initializes a new instance of the Font class.

      • Font

        public Font(String fontFamily)

        Initializes a new instance of the Font class.

        Parameters:
        fontFamily - Font family.
    • Method Detail

      • getChildFontFiles

        public String[] getChildFontFiles()

        Gets or sets the array of file names for the fonts that make up a composite font.

        Value: The array of file names for the fonts that make up a composite font.
      • setChildFontFiles

        public void setChildFontFiles(String[] value)

        Gets or sets the array of file names for the fonts that make up a composite font.

        Value: The array of file names for the fonts that make up a composite font.
      • isComposite

        public boolean isComposite()

        Gets or sets a value indicating whether this font is composite.

        Value: true if this font is composite; otherwise, false.
      • setComposite

        public void setComposite(boolean value)

        Gets or sets a value indicating whether this font is composite.

        Value: true if this font is composite; otherwise, false.
      • getFontFace

        public String getFontFace()

        Gets or sets the font face.

        Value: The font face.
      • setFontFace

        public void setFontFace(String value)

        Gets or sets the font face.

        Value: The font face.
      • getFontFamily

        public String getFontFamily()

        Gets or sets the font family.

        Value: The font family.
      • setFontFamily

        public void setFontFamily(String value)

        Gets or sets the font family.

        Value: The font family.
      • getFontFileName

        public String getFontFileName()

        Gets or sets the font file name without full path.

        Value: The font file name without full path.
      • setFontFileName

        public void setFontFileName(String value)

        Gets or sets the font file name without full path.

        Value: The font file name without full path.
      • getFontName

        public String getFontName()

        Gets or sets the PostScript font name.

        Value: The name of PostScript font name.
      • setFontName

        public void setFontName(String value)

        Gets or sets the PostScript font name.

        Value: The name of PostScript font name.
      • getFontType

        public String getFontType()

        Gets or sets the font type.

         TrueType, Type 1, Open Type, and so on.
         
        Value: The font type.
      • setFontType

        public void setFontType(String value)

        Gets or sets the font type.

         TrueType, Type 1, Open Type, and so on.
         
        Value: The font type.
      • getVersion

        public String getVersion()

        Gets or sets the font version.

         /version for Type1 fonts
         nameId 5 for Apple True Type and OpenType
         /CIDFontVersion for CID fonts
         The empty string for bitmap fonts
         
        Value: The font version.
      • setVersion

        public void setVersion(String value)

        Gets or sets the font version.

         /version for Type1 fonts
         nameId 5 for Apple True Type and OpenType
         /CIDFontVersion for CID fonts
         The empty string for bitmap fonts
         
        Value: The font version.