| Modifier and Type | Method and Description |
|---|---|
void |
close() |
int |
getAscent()
Returns ascent height of glyphs in the font.
|
int[] |
getBBox()
Returns bounding box dimensions of glyphs in the font.
|
Double |
getBlueFuzz() |
Double |
getBlueScale() |
Double |
getBlueShift() |
List<Double> |
getBlueValues() |
Double |
getCharstringType() |
String |
getCopyright() |
Double |
getDefaultWidthX() |
int |
getDescent()
Returns descent height of glyphs in the font.
|
Double |
getExpansionFactor() |
List<Double> |
getFamilyBlues() |
String |
getFamilyName() |
List<Double> |
getFamilyOtherBlues() |
List<Double> |
getFontMatrix() |
String |
getFontName() |
Boolean |
getForceBold() |
String |
getFullName() |
int |
getGlyphID(String glyphName) |
TreeMap<Integer,String> |
getGlyphIDNameMap()
Returns all glyphs in the font.
|
String |
getGlyphName(int charCodeOrGlyId) |
Double |
getInitialRandomSeed() |
Double |
getItalicAngle() |
Double |
getLanguageGroup() |
Double |
getNominalWidthX() |
String |
getNotice() |
List<Double> |
getOtherBlues() |
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.
|
Double |
getPaintType() |
int |
getPropertyCount()
Returns number of properties supported by the font.
|
FontPropertyInfo |
getPropertyInfo(int index)
Returns property specified by its index.
|
Double |
getStdHW() |
Double |
getStdVW() |
List<Double> |
getStemSnapH() |
List<Double> |
getStemSnapV() |
Double |
getStrokeWidth() |
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
|
Double |
getUnderlinePosition() |
Double |
getUnderlineThickness() |
Double |
getUniqueID() |
int |
getUnits_per_em()
Returns font units per "em" square, the theoretical box inside
which most glyphs are designed.
|
String |
getVersion() |
String |
getWeight() |
List<Double> |
getXUID() |
Boolean |
isFixedPitch() |
check, getAdvanceWidthX, getFontType, getJavaAWTFont, getNumberOfGlyphs, getStreamforEmbeddingint 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.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.List<EncodingType> getSupportedEncodings()
IFontgetSupportedEncodings in interface IFontTreeMap<Integer,String> getGlyphIDNameMap() throws IOException
IFontgetGlyphIDNameMap in interface IFontIOException - if an I/O occurs.String getGlyphName(int charCodeOrGlyId) throws IOException
IOExceptionint getGlyphID(String glyphName) throws IOException
IOExceptionint getUnits_per_em()
IFontgetUnits_per_em in interface IFontint[] getBBox()
IFontint getAscent()
IFontint getDescent()
IFontgetDescent in interface IFontString getVersion()
String getNotice()
String getCopyright()
String getFullName()
String getFamilyName()
String getWeight()
Boolean isFixedPitch()
Double getItalicAngle()
Double getUnderlinePosition()
Double getUnderlineThickness()
Double getPaintType()
Double getCharstringType()
Double getUniqueID()
Double getStrokeWidth()
Double getBlueScale()
Double getBlueShift()
Double getBlueFuzz()
Double getStdHW()
Double getStdVW()
Boolean getForceBold()
Double getLanguageGroup()
Double getExpansionFactor()
Double getInitialRandomSeed()
Double getDefaultWidthX()
Double getNominalWidthX()
String getFontName()
void close()
throws IOException
close in interface IFontIOException