public class Type3Font extends FontProgram
avgWidth, codeToGlyph, DEFAULT_WIDTH, encodingScheme, fontIdentification, fontMetrics, fontNames, isFontSpecific, registry, unicodeToGlyph, UNITS_NORMALIZATION| Modifier and Type | Method and Description |
|---|---|
int |
getKerning(Glyph glyph1, Glyph glyph2)
Gets the kerning between two glyphs.
|
int |
getNumberOfGlyphs() |
int |
getPdfFontFlags() |
Type3Glyph |
getType3Glyph(int unicode) |
boolean |
isColorized() |
boolean |
isFontSpecific() |
protected void |
setFontFamily(String fontFamily)
Sets a preferred font family name.
|
protected void |
setFontName(String fontName)
Sets the PostScript name of the font.
|
protected void |
setFontStretch(String fontWidth)
Sets font width in css notation (font-stretch property)
|
protected void |
setFontWeight(int fontWeight)
Sets font weight.
|
protected void |
setItalicAngle(int italicAngle)
Sets the PostScript italic angel.
|
countOfGlyphs, fixSpaceIssue, getAvgWidth, getCharBBox, getFontIdentification, getFontMetrics, getFontNames, getGlyph, getGlyphByCode, getKerning, getRegistry, getWidth, hasKernPairs, setBbox, setBold, setCapHeight, setFixedPitch, setRegistry, setStemH, setStemV, setTypoAscender, setTypoDescender, setXHeight, toStringpublic Type3Glyph getType3Glyph(int unicode)
public int getPdfFontFlags()
getPdfFontFlags in class FontProgram
public boolean isFontSpecific()
isFontSpecific in class FontProgram
public boolean isColorized()
public int getKerning(Glyph glyph1, Glyph glyph2)
FontProgram
getKerning in class FontProgram
glyph1 - the first glyph
glyph2 - the second glyph
public int getNumberOfGlyphs()
protected void setFontName(String fontName)
setFontName in class FontProgram
fontName - the PostScript name of the font, shall not be null or empty.
protected void setFontFamily(String fontFamily)
setFontFamily in class FontProgram
fontFamily - a preferred font family name.
protected void setFontWeight(int fontWeight)
setFontWeight in class FontProgram
fontWeight - integer form 100 to 900. See FontWeights.
protected void setFontStretch(String fontWidth)
setFontStretch in class FontProgram
fontWidth - FontStretches.
protected void setItalicAngle(int italicAngle)
setItalicAngle in class FontProgram
italicAngle - in counter-clockwise degrees from the vertical
Copyright © 1998–2018 iText Group NV. All rights reserved.