public class OTFFile extends OpenFont
OpenFont.PostScriptVersion
Modifier and Type | Field and Description |
---|---|
protected org.apache.fontbox.cff.CFFFont |
fileFont |
advancedTableReader, cid, dirTabs, familyNames, fontFile, fullName, lastLoca, locaFormat, log, mtxTab, nhmtx, notice, numberOfGlyphs, postScriptName, subFamilyName, TRACE_ENABLED, unicodeMappings, useAdvanced, useKerning
Constructor and Description |
---|
OTFFile() |
Modifier and Type | Method and Description |
---|---|
static byte[] |
getCFFData(FontFileReader fontFile)
Reads the CFFData from a given font file
|
protected void |
initializeFont(FontFileReader in) |
protected void |
readName() |
protected void |
updateBBoxAndOffset() |
checkTTC, convertTTFUnit2PDFUnit, createCMaps, determineAscDesc, getAnsiKerning, getBBox, getBoundingBoxes, getCapHeight, getCharSetName, getCharWidth, getCMaps, getDirectoryEntry, getFamilyNames, getFirstChar, getFlags, getFontBBox, getFullName, getGDEF, getGPOS, getGSUB, getItalicAngle, getKerning, getLastChar, getLowerCaseAscent, getLowerCaseDescent, getMtx, getNumGlyphs, getPadSize, getPostScriptName, getStemV, getStrikeoutPosition, getStrikeoutThickness, getSubFamilyName, getTTCnames, getUnderlinePosition, getUnderlineThickness, getWeightClass, getWidths, getXHeight, guessVerticalMetricsFromGlyphBBox, handleCharacterSpacing, hasAdvancedTable, initAnsiWidths, isCFF, isEmbeddable, main, printStuff, readCMAP, readDirTabs, readFont, readFont, readFont, readFontHeader, readHorizontalHeader, readHorizontalMetrics, readKerning, readOS2, readPCLT, readPostScript, seekTab, stream
protected void updateBBoxAndOffset() throws java.io.IOException
updateBBoxAndOffset
in class OpenFont
java.io.IOException
protected void initializeFont(FontFileReader in) throws java.io.IOException
initializeFont
in class OpenFont
java.io.IOException
protected void readName() throws java.io.IOException
public static byte[] getCFFData(FontFileReader fontFile) throws java.io.IOException
fontFile
- The font file being readjava.io.IOException
Copyright 1999-2015 The Apache Software Foundation. All Rights Reserved.