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, setFontprotected TrueTypeFont ttFont
public TrueTypeContainer(PDFont font)
public void setTrueTypeFont(TrueTypeFont ttFont)
protected void initCMapEncodingEntries()
protected float getFontProgramWidth(int cid)
FontContainergetFontProgramWidth in class FontContainerCopyright © 2002–2019 The Apache Software Foundation. All rights reserved.