Uses of Class
org.docx4j.fonts.fop.fonts.truetype.FontFileReader
| Package | Description |
|---|---|
| org.docx4j.fonts.fop.complexscripts.fonts | |
| org.docx4j.fonts.fop.fonts.cff | |
| org.docx4j.fonts.fop.fonts.truetype |
Classes for TrueType fonts.
|
-
Uses of FontFileReader in org.docx4j.fonts.fop.complexscripts.fonts
Constructors in org.docx4j.fonts.fop.complexscripts.fonts with parameters of type FontFileReader Constructor Description OTFAdvancedTypographicTableReader(OpenFont otf, FontFileReader in)Construct anOTFAdvancedTypographicTableReaderinstance. -
Uses of FontFileReader in org.docx4j.fonts.fop.fonts.cff
Constructors in org.docx4j.fonts.fop.fonts.cff with parameters of type FontFileReader Constructor Description CFFDataReader(FontFileReader fontFile)Constructor for the CFF data reader which accepts a FontFileReader object which points to the original font file as an argument. -
Uses of FontFileReader in org.docx4j.fonts.fop.fonts.truetype
Fields in org.docx4j.fonts.fop.fonts.truetype declared as FontFileReader Modifier and Type Field Description protected FontFileReaderOpenFont. fontFileThe FontFileReader used to read this TrueType font.Methods in org.docx4j.fonts.fop.fonts.truetype with parameters of type FontFileReader Modifier and Type Method Description protected booleanTTFSubSetFile. createCvt(FontFileReader in)Copy the cvt table as is from original font to subset fontprotected booleanTTFSubSetFile. createFpgm(FontFileReader in)Copy the fpgm table as is from original font to subset fontprotected voidTTFSubSetFile. createHead(FontFileReader in)Copy the head table as is from original font to subset font and set indexToLocaFormat to long and set checkSumAdjustment to 0, store offset to checkSumAdjustment in checkSumAdjustmentOffsetprotected voidTTFSubSetFile. createHhea(FontFileReader in, int size)Copy the hhea table as is from original font to subset font and fill in size of hmtx tableprotected voidTTFSubSetFile. createHmtx(FontFileReader in, java.util.Map<java.lang.Integer,java.lang.Integer> glyphs)Create the hmtx table by copying metrics from original font to subset font.protected voidTTFSubSetFile. createMaxp(FontFileReader in, int size)Copy the maxp table as is from original font to subset font and set num glyphs to sizeprotected booleanTTFSubSetFile. createName(FontFileReader in)Copy the name table as is from the original.protected booleanTTFSubSetFile. createOS2(FontFileReader in)Copy the OS/2 table as is from the original.protected voidTTFSubSetFile. createPost(FontFileReader in)protected booleanTTFSubSetFile. createPrep(FontFileReader in)Copy the prep table as is from original font to subset fontstatic byte[]OTFFile. getCFFData(FontFileReader fontFile)Reads the CFFData from a given font filejava.util.List<java.lang.String>OpenFont. getTTCnames(FontFileReader in)Return TTC font namesprotected voidOpenFont. handleCharacterSpacing(FontFileReader in)protected abstract voidOpenFont. initializeFont(FontFileReader in)protected voidOTFFile. initializeFont(FontFileReader in)protected voidTTFFile. initializeFont(FontFileReader in)java.lang.StringOFDirTabEntry. read(FontFileReader in)Read Dir Tab.voidOpenFont. readFont(FontFileReader in, java.lang.String header)Reads the font using a FontFileReader.booleanOpenFont. readFont(FontFileReader in, java.lang.String header, java.lang.String name)Read the font data.voidOpenFont. readFont(FontFileReader in, java.lang.String header, MultiByteFont mbfont)Reads a font.voidOTFSubSetFile. readFont(FontFileReader in, java.lang.String embeddedName, MultiByteFont mbFont)voidTTFSubSetFile. readFont(FontFileReader in, java.lang.String name, java.lang.String header, java.util.Map<java.lang.Integer,java.lang.Integer> glyphs)Reads a font and creates a subset of the font.static java.lang.StringOFFontLoader. readHeader(FontFileReader fontFile)protected voidTTFSubSetFile. scanGlyphs(FontFileReader in, java.util.Map<java.lang.Integer,java.lang.Integer> subsetGlyphs)booleanOpenFont. seekTab(FontFileReader in, OFTableName tableName, long offset)Position inputstream to position indicated in the dirtab offset + offsetConstructors in org.docx4j.fonts.fop.fonts.truetype with parameters of type FontFileReader Constructor Description GlyfTable(FontFileReader in, OFMtxEntry[] metrics, OFDirTabEntry dirTableEntry, java.util.Map<java.lang.Integer,java.lang.Integer> glyphs)