| Modifier and Type | Field and Description |
|---|---|
protected int |
BPoint1 |
protected int |
BPoint2 |
protected int |
compCount |
protected short |
compMaxX |
protected short |
compMaxY |
protected short |
compMinX |
protected short |
compMinY |
protected boolean |
containsBrokenGlyfData |
protected int |
contourCount |
protected Vector_Object |
contours |
protected int |
currentInstructionDepth |
protected Vector_Object |
curves |
protected Vector_Int |
endPtIndices |
protected Vector_Object |
glyfX |
protected Vector_Object |
glyfY |
protected int[] |
instructions |
protected boolean |
isComposite |
protected short |
leftSideBearing |
protected short |
maxX |
protected short |
maxY |
protected short |
minX |
protected short |
minY |
protected double |
pixelSize |
protected double |
scale01 |
protected Vector_Double |
scale01Values |
protected double |
scale10 |
protected Vector_Double |
scale10Values |
protected int[] |
scaledX |
protected int[] |
scaledY |
protected boolean |
ttHintingRequired |
protected float |
unitsPerEm |
static boolean |
useHinting |
protected double |
xscale |
protected Vector_Double |
xscaleValues |
protected int |
xtranslate |
protected Vector_Int |
xtranslateValues |
protected double |
yscale |
protected Vector_Double |
yscaleValues |
protected int |
ytranslate |
protected Vector_Int |
ytranslateValues |
failedOnHinting, FontBB_HEIGHT, FontBB_WIDTH, FontBB_X, FontBB_Y, isHinted| Constructor and Description |
|---|
BaseTTGlyph(Glyf currentGlyf,
FontFile2 glyfTable,
Hmtx currentHmtx,
int idx,
float unitsPerEm,
String baseFontName)
Unhinted constructor
|
BaseTTGlyph(Glyf currentGlyf,
FontFile2 glyfTable,
Hmtx currentHmtx,
int idx,
float unitsPerEm,
TTVM vm)
Hinted constructor
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
containsBrokenData() |
void |
createPaths(int[] pX,
int[] pY,
boolean[] onCurve,
boolean[] endOfContour,
int endIndex) |
int |
getFontBB(int type) |
boolean |
hasHintingApplied() |
boolean |
isTTHintingRequired() |
void |
readComplexGlyph(Glyf currentGlyf,
FontFile2 currentFontFile) |
void |
readGlyph(Glyf currentGlyf,
FontFile2 currentFontFile) |
void |
readSimpleGlyph(FontFile2 currentFontFile) |
void |
scaler(int[] pX,
int[] pY)
create the actual shape
|
failedOnHinting, getGlyphNumber, getmaxWidth, getPath, getShape, hasHinting, ignoreColors, isFailedOnHinting, render, setGlyphNumber, setStrokedOnly, setT3Colors, setWidthprotected boolean ttHintingRequired
public static boolean useHinting
protected boolean containsBrokenGlyfData
protected short compMinX
protected short compMinY
protected short compMaxX
protected short compMaxY
protected short minX
protected short minY
protected short maxX
protected short maxY
protected int[] scaledX
protected int[] scaledY
protected int BPoint1
protected int BPoint2
protected final Vector_Int xtranslateValues
protected final Vector_Int ytranslateValues
protected final short leftSideBearing
protected final Vector_Double xscaleValues
protected final Vector_Double yscaleValues
protected final Vector_Double scale01Values
protected final Vector_Double scale10Values
protected double xscale
protected double yscale
protected double scale01
protected double scale10
protected int[] instructions
protected int xtranslate
protected int ytranslate
protected int currentInstructionDepth
protected final Vector_Object glyfX
protected final Vector_Object glyfY
protected final Vector_Object curves
protected final Vector_Object contours
protected final Vector_Int endPtIndices
protected int contourCount
protected float unitsPerEm
protected int compCount
protected boolean isComposite
protected double pixelSize
public BaseTTGlyph(Glyf currentGlyf, FontFile2 glyfTable, Hmtx currentHmtx, int idx, float unitsPerEm, TTVM vm)
public void scaler(int[] pX,
int[] pY)
pX - public void readSimpleGlyph(FontFile2 currentFontFile)
public boolean isTTHintingRequired()
public void createPaths(int[] pX,
int[] pY,
boolean[] onCurve,
boolean[] endOfContour,
int endIndex)
public int getFontBB(int type)
public boolean containsBrokenData()
containsBrokenData in class PdfGlyphpublic boolean hasHintingApplied()
hasHintingApplied in class PdfGlyphCopyright © 2017. All rights reserved.