| 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 | Class and Description |
|---|---|
class |
GlyphStringId
Represents string glyph id.
|
class |
GlyphUInt32Id
Represents integer glyph id.
|
| Modifier and Type | Method and Description |
|---|---|
GlyphId |
CffEncoding.decodeToGid(long charCode)
Gets Gid for charCode passed.
|
GlyphId |
IFontEncoding.decodeToGid(long charCode)
Decodes a character code and returns glyph id.
|
GlyphId |
TtfEncoding.decodeToGid(long unicode)
TTF Font's DecodeToGlyphId implementation finds unicode table and returns glyph id for unicode char.
|
GlyphId |
Type1Encoding.decodeToGid(long charCode)
Decodes Gid to unicode.
|
GlyphId |
CffEncoding.decodeToGidParameterized(IEncodingParameters parameters,
long charCode)
Parameterized decode method.
|
GlyphId |
IFontEncoding.decodeToGidParameterized(IEncodingParameters parameters,
long charCode)
Parameterized decode method.
|
GlyphId |
TtfEncoding.decodeToGidParameterized(IEncodingParameters parameters,
long charCode)
Parametrized version allows to use specific CMap table (not unicode).
|
GlyphId |
Type1Encoding.decodeToGidParameterized(IEncodingParameters parameters,
long charCode)
Parameterized decode method.
|
GlyphId |
GlyphIdList.get(int index)
Returns glyph id by the index.
|
GlyphId[] |
CffFont.getAllGlyphIds()
Returns array of all glyph ids, available in the Font.
|
abstract GlyphId[] |
Font.getAllGlyphIds()
Returns all glyph ids, available in the Font.
|
GlyphId[] |
IGlyphAccessor.getAllGlyphIds()
Returns all glyph ids, available in the Font.
|
GlyphId[] |
TtfFont.getAllGlyphIds()
Returns array of all glyph ids, available in the Font.
|
GlyphId[] |
Type1Font.getAllGlyphIds()
Returns array of all glyph ids, available in the Font.
|
GlyphId[] |
Type1MetricFont.getAllGlyphIds()
Returns all glyph Ids, available in the Font.
|
GlyphId[] |
Font.getGlyphsForText(String text)
Gets glyphs representation for text.
|
GlyphId[] |
IGlyphAccessor.getGlyphsForText(String text)
Get glyphs representation for text.
|
GlyphId[] |
TtfFont.getGlyphsForText(String text)
Get glyphs representation for text.
|
GlyphId |
CffEncoding.unicodeToGid(long unicode)
Decodes a unicode and returns glyph id.
|
GlyphId |
IFontEncoding.unicodeToGid(long unicode)
Decodes a unicode and returns glyph id.
|
GlyphId |
TtfEncoding.unicodeToGid(long unicode)
Decodes a unicode and returns glyph id.
|
GlyphId |
Type1Encoding.unicodeToGid(long unicode)
Returns GlyphId for unicode.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
GlyphIdList.add(GlyphId glyphId)
Adds glyph id to the list.
|
boolean |
GlyphIdList.contains(GlyphId glyphId)
Returns true in case glyph id is in the list.
|
static InputStream |
RenderingUtils.drawText(Font font,
GlyphId[] glyphIds,
double fontSize)
Rendering text in BitMap.
|
static InputStream |
RenderingUtils.drawText(Font font,
GlyphId[] glyphIds,
double fontSize,
RenderingUtils.LineSpacingType lineSpacingType,
int lineSpacingValue,
int maxWidth)
Rendering text in BitMap.
|
TransformationMatrix |
CffFontMetrics.getFontMatrixForGlyph(GlyphId glyphId)
Calculates transformation matrix for glyph specified by id.
|
FontBBox |
FontMetrics.getGlyphBBox(GlyphId glyphId)
Returns glyph Bbox.
|
FontBBox |
IFontMetrics.getGlyphBBox(GlyphId glyphId)
Returns glyph BBox.
|
Glyph |
CffFont.getGlyphById(GlyphId id)
Returns glyph by glyph id.
|
abstract Glyph |
Font.getGlyphById(GlyphId id)
Returns glyph by glyph Id.
|
Glyph |
IGlyphAccessor.getGlyphById(GlyphId id)
Returns glyph by glyph id.
|
Glyph |
TtfFont.getGlyphById(GlyphId id)
Returns glyph by glyph id.
|
Glyph |
Type1Font.getGlyphById(GlyphId id)
Returns glyph by glyph id.
|
Glyph |
Type1MetricFont.getGlyphById(GlyphId id)
Returns glyph by glyph Id.
|
void |
TtfFont.getGlyphComponentsById(GlyphId id,
GlyphIdList componentsToPopulate)
Gets a glyph by glyph identifier passed and fills passed list of glyph identifiers with components
of this glyph.
|
double |
CffFontMetrics.getGlyphWidth(GlyphId glyphId)
Returns glyph width.
|
double |
FontMetrics.getGlyphWidth(GlyphId glyphId)
Returns glyph width.
|
double |
IFontMetrics.getGlyphWidth(GlyphId glyphId)
Returns glyph width.
|
double |
TtfFontMetrics.getGlyphWidth(GlyphId glyphId)
Returns glyphs width by glyph id.
|
double |
Type1FontMetrics.getGlyphWidth(GlyphId glyphId)
Returns glyph width.
|
double |
FontMetrics.getKerningValue(GlyphId prevGlyphId,
GlyphId nextGlyphId)
Returns kerning value for the glyph pair.
|
double |
IFontMetrics.getKerningValue(GlyphId prevGlyphId,
GlyphId nextGlyphId)
Returns kerning value for the glyph pair.
|
double |
TtfFontMetrics.getKerningValue(GlyphId prevGlyphId,
GlyphId nextGlyphId)
Returns kerning value for the glyph pair.
|
long |
CffEncoding.gidToUnicode(GlyphId gid)
Decodes Gid to unicode.
|
long |
IFontEncoding.gidToUnicode(GlyphId gid)
Decodes Gid to unicode.
|
long |
TtfEncoding.gidToUnicode(GlyphId glyphId)
Decodes glyph id to unicode.
|
long |
Type1Encoding.gidToUnicode(GlyphId gid)
Decodes Gid to Unicode.
|
abstract Font |
FontCharactersMerger.mergeFonts(GlyphId[] primaryFontGlyphs,
GlyphId[] secondaryFontGlyphs,
String newFontName)
Merges fonts based on glyphs lists passed.
|
abstract Font |
FontCharactersMerger.mergeFonts(GlyphId[] primaryFontGlyphs,
GlyphId[] secondaryFontGlyphs,
String newFontName)
Merges fonts based on glyphs lists passed.
|
TtfFont |
IFontCharactersMerger.mergeFonts(GlyphId[] font1Glyphs,
GlyphId[] font2Glyphs,
String newFontName)
Merges fonts based on glyphs lists passed.
|
TtfFont |
IFontCharactersMerger.mergeFonts(GlyphId[] font1Glyphs,
GlyphId[] font2Glyphs,
String newFontName)
Merges fonts based on glyphs lists passed.
|
static boolean |
GlyphId.op_Equality(GlyphId obj1,
Object obj2)
Returns true if two glyph ids are equal.
|
static boolean |
GlyphId.op_Inequality(GlyphId obj1,
Object obj2)
Returns true if two glyph ids are not equal.
|
boolean |
GlyphIdList.remove(GlyphId glyphId)
Removes glyph id from the list.
|
void |
GlyphRendererBase.renderGlyph(IFont font,
GlyphId glyphId)
Renders glyph.
|
void |
IGlyphRenderer.renderGlyph(IFont font,
GlyphId glyphId)
Renders glyph.
|
void |
GlyphRendererBase.renderGlyph(IFont font,
GlyphId glyphId,
Glyph glyph,
TransformationMatrix glyphPlacementMatrix)
Renders glyph, an objective of this overloaded version - to be used with cache for glyphs.
|
void |
IGlyphRenderer.renderGlyph(IFont font,
GlyphId glyphId,
Glyph glyph,
TransformationMatrix glyphPlacementMatrix)
Renders glyph, an objective of this overloaded version - to be used with cache for glyphs.
|
void |
GlyphRendererBase.renderGlyph(IFont font,
GlyphId glyphId,
TransformationMatrix glyphPlacementMatrix)
Renders glyph.
|
void |
IGlyphRenderer.renderGlyph(IFont font,
GlyphId glyphId,
TransformationMatrix glyphPlacementMatrix)
Renders glyph.
|
void |
GlyphRendererBase.renderIndependentGlyphPath(IFont font,
GlyphId glyphId,
Glyph glyph,
TransformationMatrix glyphPlacementMatrix)
Renders glyph using independent glyph path.
|
void |
IGlyphRenderer.renderIndependentGlyphPath(IFont font,
GlyphId glyphId,
Glyph glyph,
TransformationMatrix glyphPlacementMatrix)
Renders glyph using independent glyph path.
|
| Modifier and Type | Method and Description |
|---|---|
abstract Font |
FontCharactersMerger.mergeFonts(Map<Integer,GlyphId> primaryFontDict,
Map<Integer,GlyphId> secondaryFontDict,
String newFontName)
This method version is designed for cases when you want to set character codes for glyphs in the resultant font explicitly.
|
abstract Font |
FontCharactersMerger.mergeFonts(Map<Integer,GlyphId> primaryFontDict,
Map<Integer,GlyphId> secondaryFontDict,
String newFontName)
This method version is designed for cases when you want to set character codes for glyphs in the resultant font explicitly.
|
TtfFont |
IFontCharactersMerger.mergeFonts(Map<Integer,GlyphId> font1Dict,
Map<Integer,GlyphId> font2Dict,
String newFontName)
This method version designed for cases when you want to set character codes for glyphs in resultant font explicitly.
|
TtfFont |
IFontCharactersMerger.mergeFonts(Map<Integer,GlyphId> font1Dict,
Map<Integer,GlyphId> font2Dict,
String newFontName)
This method version designed for cases when you want to set character codes for glyphs in resultant font explicitly.
|
| Modifier and Type | Method and Description |
|---|---|
GlyphId[] |
IFontMorseDecoder.decode(String morseText,
IFont font)
Deciphers Morse code into glyphs of the specified font.
|
GlyphId[] |
IFontMorseDecoder.decode(String morseText,
IFont font,
MorseAlphabets alphabet)
Deciphers Morse code into glyphs of the specified font.
|
GlyphId[] |
IFontMorseDecoder.decode(String morseText,
IFont font,
MorseAlphabets alphabet,
char inputSeparator)
Deciphers Morse code into glyphs of the specified font.
|
GlyphId[] |
IFontMorseDecoder.decode(String morseText,
IFont font,
MorseAlphabets alphabet,
char inputSeparator,
char outputSeparator)
Deciphers Morse code into glyphs of the specified font.
|
GlyphId[] |
IFontMorseEncoder.encode(String text,
IFont font)
Encodes text in Morse code and returns result as set of glyphs(glyphId).
|
GlyphId[] |
IFontMorseEncoder.encode(String text,
IFont font,
char inputSeparator)
Encodes text in Morse code and returns result as set of glyphs(glyphId).
|
GlyphId[] |
IFontMorseEncoder.encode(String text,
IFont font,
char inputSeparator,
char outputSeparator)
Encodes text in Morse code and returns result as set of glyphs(glyphId).
|
GlyphId[] |
IFontMorseEncoder.encode(String text,
IFont font,
MorseAlphabets alphabet)
Encodes text by Morse code and returns result as set of glyphs(glyph identifiers).
|
GlyphId[] |
IFontMorseEncoder.encode(String text,
IFont font,
MorseAlphabets alphabet,
char inputSeparator)
Encodes text by Morse code and returns result as set of glyphs(glyph identifiers).
|
GlyphId[] |
IFontMorseEncoder.encode(String text,
IFont font,
MorseAlphabets alphabet,
char inputSeparator,
char outputSeparator)
Encodes text by Morse code and returns result as set of glyphs(glyph identifiers).
|
Copyright © 2025 Aspose. All Rights Reserved.