| Modifier and Type | Method and Description |
|---|---|
void |
close() |
String |
getAFMFilePath() |
int |
getAFMPropertyCount() |
FontPropertyInfo |
getAFMPropertyInfo(int index) |
int |
getAscent()
Returns ascent height of glyphs in the font.
|
int[] |
getBBox()
Returns bounding box dimensions of glyphs in the font.
|
String |
getCopyright() |
int |
getDescent()
Returns descent height of glyphs in the font.
|
long |
getEmbedStreamLength1() |
long |
getEmbedStreamLength2() |
long |
getEmbedStreamLength3() |
String |
getFamilyName() |
Boolean |
getFixedPitch() |
int[] |
getFontBBox() |
String |
getFontName() |
String |
getFullName() |
int |
getGlyphID(String glyphName) |
TreeMap<Integer,String> |
getGlyphIDNameMap()
Returns all glyphs in the font.
|
String |
getGlyphName(int glyphId) |
String |
getGlyphNameForCharcode(int charcode) |
Double |
getItalicAngle() |
GeneralPath |
getOutlineForCharcode(int charcode,
float fontSize,
int dpi,
EncodingType encoding)
Returns outline for specified character code.
|
GeneralPath |
getOutlineForGlyphID(int glyphID,
float fontSize,
int dpi,
EncodingType encoding)
Returns outline for specified glyph ID.
|
GeneralPath |
getOutlineForGlyphName(String glyphName,
float fontSize,
int dpi,
EncodingType encoding)
Returns outline for specified glyph name.
|
String |
getPFBFilePath() |
int |
getPFBPropertyCount() |
FontPropertyInfo |
getPFBPropertyInfo(int index) |
IType1PFM |
getPFM() |
String |
getPFMFilePath() |
int |
getPFMPropertyCount() |
FontPropertyInfo |
getPFMPropertyInfo(int index) |
int |
getPropertyCount()
Returns number of properties supported by the font.
|
FontPropertyInfo |
getPropertyInfo(int index)
Returns property specified by its index.
|
List<EncodingType> |
getSupportedEncodings()
Returns encodings supported by the font.
|
int |
getTwoArrLists(ArrayList<Float> arrListCoordinates,
ArrayList<String> arrListCommands,
String character)
Desc: Adds commands and coordinates to the given array lists
|
int |
getUnits_per_em()
Returns font units per "em" square, the theoretical box inside
which most glyphs are designed.
|
boolean |
isAFMFound() |
boolean |
isForceBold() |
boolean |
isPFBFound() |
boolean |
isPFMFound() |
check, getAdvanceWidthX, getFontType, getJavaAWTFont, getNumberOfGlyphs, getStreamforEmbeddingString getPFBFilePath()
String getPFMFilePath()
String getAFMFilePath()
boolean isPFBFound()
boolean isPFMFound()
boolean isAFMFound()
String getFontName()
String getFullName()
String getFamilyName()
int[] getFontBBox()
String getCopyright()
int getPFMPropertyCount()
FontPropertyInfo getPFMPropertyInfo(int index)
int getAFMPropertyCount()
FontPropertyInfo getAFMPropertyInfo(int index)
int getPFBPropertyCount()
FontPropertyInfo getPFBPropertyInfo(int index)
int getPropertyCount()
throws XFEException
IFontgetPropertyCount in interface IFontXFEException - if an illegal argument is supplied.FontPropertyInfo getPropertyInfo(int index) throws XFEException
IFontgetPropertyInfo in interface IFontindex - index of the propertyXFEException - if an illegal argument is supplied.int getTwoArrLists(ArrayList<Float> arrListCoordinates, ArrayList<String> arrListCommands, String character) throws IOException, XFEException
arrListCoordinates - arrListCommands - character - IOExceptionXFEExceptionGeneralPath getOutlineForCharcode(int charcode, float fontSize, int dpi, EncodingType encoding) throws IOException, XFEException
IFontgetOutlineForCharcode in interface IFontcharcode - character codefontSize - size of the fontdpi - pixel densityencoding - font encodingIOException - if an I/O error occurs.XFEException - if an illegal argument is supplied.GeneralPath getOutlineForGlyphID(int glyphID, float fontSize, int dpi, EncodingType encoding) throws IOException, XFEException
IFontgetOutlineForGlyphID in interface IFontglyphID - glyph IDfontSize - font sizedpi - pixel densityencoding - font encodingIOException - if an I/O error occurs.XFEException - if an illegal argument is supplied.GeneralPath getOutlineForGlyphName(String glyphName, float fontSize, int dpi, EncodingType encoding) throws IOException, XFEException
IFontgetOutlineForGlyphName in interface IFontglyphName - name of the glyphfontSize - font sizedpi - pixel densityencoding - font densityIOException - if an I/O error occurs.XFEException - if an illegal argument is supplied.List<EncodingType> getSupportedEncodings()
IFontgetSupportedEncodings in interface IFontString getGlyphName(int glyphId) throws IOException, XFEException
IOExceptionXFEExceptionint getGlyphID(String glyphName) throws IOException
IOExceptionTreeMap<Integer,String> getGlyphIDNameMap() throws IOException
IFontgetGlyphIDNameMap in interface IFontIOException - if an I/O occurs.int getUnits_per_em()
IFontgetUnits_per_em in interface IFontint[] getBBox()
IFontint getAscent()
IFontint getDescent()
IFontgetDescent in interface IFontvoid close()
throws IOException
close in interface IFontIOExceptionlong getEmbedStreamLength1()
long getEmbedStreamLength2()
long getEmbedStreamLength3()
IType1PFM getPFM()
String getGlyphNameForCharcode(int charcode) throws IOException, XFEException
IOExceptionXFEExceptionboolean isForceBold()
Double getItalicAngle()
Boolean getFixedPitch()