Package | Description |
---|---|
com.aspose.pdf | |
com.aspose.pdf.facades | |
com.aspose.pdf.text |
Modifier and Type | Method and Description |
---|---|
static Font |
FontRepository.findFont(String fontName)
Searches and returns font with specified font name.
|
static Font |
FontRepository.findFont(String fontFamilyName,
int style)
Searches and returns font with specified font name and font style.
|
Font |
FontCollection.get_Item(int index)
Gets the font element at the specified index.
|
Font |
FontCollection.get_Item(String name)
Gets font from the collection by font name.
|
static Font |
TextStamp.getDefaultFont() |
Font |
DefaultAppearance.getFont()
Gets font specified as default for text.
|
Font |
TextFragmentState.getFont()
Gets font of the text, represented by the
TextFragment object |
Font |
TextState.getFont()
Gets or sets font of the text.
|
static Font |
FontRepository.openFont(InputStream fontStream,
int fontType)
Opens font with specified font stream.
|
static Font |
FontRepository.openFont(String fontFilePath)
Opens font with specified font file path.
|
static Font |
FontRepository.openFont(String fontFilePath,
String metricsFilePath)
Opens font with specified font file path and metrics file path.
|
Modifier and Type | Method and Description |
---|---|
void |
FontCollection.add(Font newFont,
String[] resName)
Adds new font to font resources and returns automatically assigned name of font resource.
|
void |
TextFragmentState.setFont(Font value)
Sets font of the text, represented by the
TextFragment object |
void |
TextState.setFont(Font value) |
Constructor and Description |
---|
DefaultAppearance(Font font,
double fontSize,
Color textColor)
Constructor of DefaultAppearance.
|
Operator.ShowText(String text,
Font font) |
Modifier and Type | Method and Description |
---|---|
Font |
FormattedText.getFont()
Gets font
|
Modifier and Type | Method and Description |
---|---|
Font |
SystemFontsSubstitution.getDefaultFont()
Gets or sets default substitution font.
|
Modifier and Type | Method and Description |
---|---|
void |
SystemFontsSubstitution.setDefaultFont(Font value) |
boolean |
CustomFontSubstitutionBase.trySubstitute(CustomFontSubstitutionBase.OriginalFontSpecification originalFontSpecification,
Font[] substitutionFont)
Substitutes original font with another font.
|
Copyright © 2014 Aspose. All Rights Reserved.