Uses of Class
org.apache.fop.fonts.truetype.FontFileReader
-
Packages that use FontFileReader Package Description org.apache.fop.complexscripts.fonts org.apache.fop.fonts.cff org.apache.fop.fonts.truetype Classes for TrueType fonts.org.apache.fop.pdf Classes for handling the low-level creation of PDF documents.org.apache.fop.render.pcl.fonts org.apache.fop.render.pcl.fonts.truetype -
-
Uses of FontFileReader in org.apache.fop.complexscripts.fonts
Fields in org.apache.fop.complexscripts.fonts declared as FontFileReader Modifier and Type Field Description private FontFileReader
OTFAdvancedTypographicTableReader. in
Constructors in org.apache.fop.complexscripts.fonts with parameters of type FontFileReader Constructor Description OTFAdvancedTypographicTableReader(OpenFont otf, FontFileReader in)
Construct anOTFAdvancedTypographicTableReader
instance. -
Uses of FontFileReader in org.apache.fop.fonts.cff
Constructors in org.apache.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.apache.fop.fonts.truetype
Fields in org.apache.fop.fonts.truetype declared as FontFileReader Modifier and Type Field Description protected FontFileReader
OpenFont. fontFile
The FontFileReader used to read this TrueType font.private FontFileReader
GlyfTable. in
Methods in org.apache.fop.fonts.truetype with parameters of type FontFileReader Modifier and Type Method Description private boolean
TTFSubSetFile. copyTable(FontFileReader in, OFTableName tableName)
protected boolean
TTFSubSetFile. createCvt(FontFileReader in)
Copy the cvt table as is from original font to subset fontprotected boolean
TTFSubSetFile. createFpgm(FontFileReader in)
Copy the fpgm table as is from original font to subset fontprivate void
TTFSubSetFile. createGlyf(FontFileReader in, java.util.Map<java.lang.Integer,java.lang.Integer> glyphs)
Create the glyf table and fill in loca tableprotected void
TTFSubSetFile. 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 void
TTFSubSetFile. createHhea(FontFileReader in, int size)
Copy the hhea table as is from original font to subset font and fill in size of hmtx tableprotected void
TTFSubSetFile. 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 void
TTFSubSetFile. createMaxp(FontFileReader in, int size)
Copy the maxp table as is from original font to subset font and set num glyphs to sizeprotected boolean
TTFSubSetFile. createName(FontFileReader in)
Copy the name table as is from the original.protected boolean
TTFSubSetFile. createOS2(FontFileReader in)
Copy the OS/2 table as is from the original.protected void
TTFSubSetFile. createPost(FontFileReader in)
protected boolean
TTFSubSetFile. 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 void
OpenFont. handleCharacterSpacing(FontFileReader in)
protected abstract void
OpenFont. initializeFont(FontFileReader in)
protected void
OTFFile. initializeFont(FontFileReader in)
protected void
TTFFile. initializeFont(FontFileReader in)
java.lang.String
OFDirTabEntry. read(FontFileReader in)
Read Dir Tab.void
OpenFont. readFont(FontFileReader in, java.lang.String header)
Reads the font using a FontFileReader.boolean
OpenFont. readFont(FontFileReader in, java.lang.String header, java.lang.String name)
Read the font data.void
OpenFont. readFont(FontFileReader in, java.lang.String header, MultiByteFont mbfont)
Reads a font.void
OTFSubSetFile. readFont(FontFileReader in, java.lang.String embeddedName, MultiByteFont mbFont)
(package private) void
OTFSubSetFile. readFont(FontFileReader in, java.lang.String embeddedName, MultiByteFont mbFont, java.util.Map<java.lang.Integer,java.lang.Integer> usedGlyphs)
Reads and creates a subset of the font.void
TTFSubSetFile. 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.String
OFFontLoader. readHeader(FontFileReader fontFile)
protected void
TTFSubSetFile. scanGlyphs(FontFileReader in, java.util.Map<java.lang.Integer,java.lang.Integer> subsetGlyphs)
boolean
OpenFont. seekTab(FontFileReader in, OFTableName tableName, long offset)
Position inputstream to position indicated in the dirtab offset + offsetConstructors in org.apache.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)
-
Uses of FontFileReader in org.apache.fop.pdf
Methods in org.apache.fop.pdf with parameters of type FontFileReader Modifier and Type Method Description private byte[]
PDFFactory. getFontSubsetBytes(FontFileReader reader, MultiByteFont mbfont, java.lang.String header, java.lang.String fontPrefix, FontDescriptor desc, boolean isCFF)
-
Uses of FontFileReader in org.apache.fop.render.pcl.fonts
Fields in org.apache.fop.render.pcl.fonts declared as FontFileReader Modifier and Type Field Description protected FontFileReader
PCLCharacterWriter. fontReader
private FontFileReader
PCLSoftFont. reader
Methods in org.apache.fop.render.pcl.fonts that return FontFileReader Modifier and Type Method Description abstract FontFileReader
PCLFontReader. getFontFileReader()
FontFileReader
PCLSoftFont. getReader()
Methods in org.apache.fop.render.pcl.fonts with parameters of type FontFileReader Modifier and Type Method Description void
PCLSoftFont. setReader(FontFileReader reader)
-
Uses of FontFileReader in org.apache.fop.render.pcl.fonts.truetype
Fields in org.apache.fop.render.pcl.fonts.truetype declared as FontFileReader Modifier and Type Field Description protected FontFileReader
PCLTTFFontReader. reader
protected FontFileReader
PCLTTFTable. reader
private FontFileReader
PCLTTFTableFactory. reader
Methods in org.apache.fop.render.pcl.fonts.truetype that return FontFileReader Modifier and Type Method Description FontFileReader
PCLTTFFontReader. getFontFileReader()
Methods in org.apache.fop.render.pcl.fonts.truetype with parameters of type FontFileReader Modifier and Type Method Description static PCLTTFTableFactory
PCLTTFTableFactory. getInstance(FontFileReader reader)
protected void
PCLTTFTable. skipByte(FontFileReader reader, int skips)
protected void
PCLTTFTable. skipLong(FontFileReader reader, int skips)
protected void
PCLTTFTable. skipShort(FontFileReader reader, int skips)
Constructors in org.apache.fop.render.pcl.fonts.truetype with parameters of type FontFileReader Constructor Description PCLTTFOS2FontTable(FontFileReader in)
PCLTTFPCLTFontTable(FontFileReader in)
PCLTTFPOSTFontTable(FontFileReader in)
PCLTTFTable(FontFileReader reader)
PCLTTFTableFactory(FontFileReader reader)
-