public class TrueTypeContainer extends FontContainer
Modifier and Type | Field and Description |
---|---|
protected TrueTypeFont |
ttFont |
computedCid, embeddedFont, errorBuffer, errorsAleadyMerged, font
Constructor and Description |
---|
TrueTypeContainer(PDFont font) |
Modifier and Type | Method and Description |
---|---|
protected float |
getFontProgramWidth(int cid)
Extract the Glyph width for the given CID.
|
protected void |
initCMapEncodingEntries()
Initialize the cmapEncodingEntries with CMaps that belong to the TrueType Font Program.
|
void |
setTrueTypeFont(TrueTypeFont ttFont) |
checkGlyphWith, checkWidthsConsistency, errorsAleadyMerged, getAllErrors, isAlreadyComputedCid, isEmbeddedFont, isValid, markCIDAsInvalid, markCIDAsValid, notEmbedded, push, push, setErrorsAleadyMerged
protected TrueTypeFont ttFont
public TrueTypeContainer(PDFont font)
public void setTrueTypeFont(TrueTypeFont ttFont)
protected void initCMapEncodingEntries()
protected float getFontProgramWidth(int cid)
FontContainer
getFontProgramWidth
in class FontContainer
Copyright © 2002–2015 The Apache Software Foundation. All rights reserved.