| Package | Description |
|---|---|
| com.aspose.font |
The com.aspose.font is a root package for all classes that deal with fonts.
|
| com.aspose.font.textutils |
The com.aspose.font.text.utils package provides classes and interfaces for text processing.
|
| Modifier and Type | Method and Description |
|---|---|
FontType |
CffFont.getFontType()
Gets Font type.
|
abstract FontType |
Font.getFontType()
Gets Font type.
|
FontType |
FontDefinition.getFontType()
Gets Font type.
|
FontType |
IFont.getFontType()
Gets Font type.
|
FontType |
TtfFont.getFontType()
Gets Font type.
|
FontType |
Type1Font.getFontType()
Gets Font type.
|
static FontType |
FontType.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static FontType[] |
FontType.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
| Modifier and Type | Method and Description |
|---|---|
Font |
CffFont.convert(FontType fontType)
Converts the Font into another format.
|
abstract Font |
Font.convert(FontType fontType)
Converts the Font into another format.
|
Font |
IFont.convert(FontType fontType)
Converts the Font into another format.
|
Font |
TtfFont.convert(FontType fontType)
Converts the Font into another format.
|
Font |
Type1Font.convert(FontType fontType)
Converts the Font into another format.
|
Font |
TtfFont.convert(FontType fontType,
Collection<Integer> limitingCharacterSet)
Converts the Font into another format with limiting character set
Note: TTF Font type is now supported only.
|
static Font |
Font.open(FontType fontType,
byte[] fontData)
Opens a font, using font type and font data byte array.
|
Font |
FontFactory.open(FontType fontType,
byte[] fontData)
Opens a font, using font type and font data byte array.
|
static Font |
Font.open(FontType fontType,
StreamSource fontStreamSource)
Opens a font, using font type and stream source.
|
Font |
FontFactory.open(FontType fontType,
StreamSource fontStreamSource)
Opens a font, using font type and stream source.
|
static Font |
Font.open(FontType fontType,
String fileName)
Opens a font, using font type and font file name.
|
Font |
FontFactory.open(FontType fontType,
String fileName)
Opens a font, using font type and font file name.
|
static FontDefinition |
FontDefinition.open(StreamSource source,
FontType fontType)
Returns FontDefinition for font stream source and font type.
|
static FontDefinition |
FontDefinition.open(String fileName,
FontType fontType)
Returns FontDefinition for font file and font type.
|
| Constructor and Description |
|---|
FontDefinition(FontType fontType,
FontFileDefinition fileDefinition)
Creates single-file Font definition.
|
FontDefinition(FontType fontType,
FontFileDefinition[] fileDefinitions)
Creates multi-file Font definition.
|
FontDefinition(FontType fontType,
StreamSource streamSource)
Creates single-file Font definition.
|
FontDefinition(FontType fontType,
String fileExtension,
StreamSource streamSource)
Creates single-file Font definition.
|
FontDefinition(MultiLanguageString fontNames,
MultiLanguageString postscriptNames,
FontType fontType,
FontFileDefinition fileDefinition)
Creates multi-file Font definition.
|
FontDefinition(MultiLanguageString fontNames,
MultiLanguageString postscriptNames,
FontType fontType,
FontFileDefinition[] fileDefinitions)
Creates multi-file Font definition.
|
FontDefinition(String fontName,
FontType fontType,
FontFileDefinition fileDefinition)
Creates single-file Font definition.
|
FontDefinition(String fontName,
FontType fontType,
String fileExtension,
StreamSource streamSource)
Creates single-file Font definition.
|
FontDefinition(String fontName,
String postscriptName,
FontType fontType,
FontFileDefinition fileDefinition)
Creates single-file Font definition.
|
FontDefinition(String fontName,
String postscriptName,
FontType fontType,
FontFileDefinition[] fileDefinitions)
Creates multi-file Font definition.
|
| Modifier and Type | Method and Description |
|---|---|
FontCharactersMerger |
TextUtilsFactory.getFontCharactersMerger(Font primaryFont,
Font secondaryFont,
FontType outType) |
static boolean |
TextUtilsFactory.isCffSimpleFontMerging(Font primaryFont,
Font secondaryFont,
FontType outType) |
Copyright © 2025 Aspose. All Rights Reserved.