public class OTFFile
extends org.apache.fop.fonts.truetype.OpenFont
Modifier and Type | Field and Description |
---|---|
protected org.apache.fontbox.cff.CFFFont |
fileFont |
advancedTableReader, cid, dirTabs, embedFontName, familyNames, fontFile, fullName, lastLoca, locaFormat, log, mtxTab, nhmtx, notice, numberOfGlyphs, postScriptName, subFamilyName, svgs, TRACE_ENABLED, unicodeMappings, useAdvanced, useKerning
Constructor and Description |
---|
OTFFile() |
OTFFile(boolean useKerning,
boolean useAdvanced) |
Modifier and Type | Method and Description |
---|---|
static byte[] |
getCFFData(org.apache.fop.fonts.truetype.FontFileReader fontFile)
Reads the CFFData from a given font file
|
protected void |
initializeFont(org.apache.fop.fonts.truetype.FontFileReader in) |
boolean |
isType1() |
protected void |
readName() |
protected void |
updateBBoxAndOffset() |
checkTTC, convertTTFUnit2PDFUnit, createCMaps, determineAscDesc, getAnsiKerning, getBBox, getBBoxRaw, getBoundingBoxes, getCapHeight, getCharSetName, getCharWidth, getCharWidthRaw, getCMaps, getCopyrightNotice, getDirectoryEntry, getEmbedFontName, 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
public OTFFile() throws IOException
IOException
public OTFFile(boolean useKerning, boolean useAdvanced) throws IOException
IOException
protected void updateBBoxAndOffset() throws IOException
updateBBoxAndOffset
in class org.apache.fop.fonts.truetype.OpenFont
IOException
protected void initializeFont(org.apache.fop.fonts.truetype.FontFileReader in) throws IOException
initializeFont
in class org.apache.fop.fonts.truetype.OpenFont
IOException
protected void readName() throws IOException
readName
in class org.apache.fop.fonts.truetype.OpenFont
IOException
public static byte[] getCFFData(org.apache.fop.fonts.truetype.FontFileReader fontFile) throws IOException
fontFile
- The font file being readIOException
public boolean isType1()
Copyright © 2024. All rights reserved.