Package | Description |
---|---|
org.apache.fop.complexscripts.fonts | |
org.apache.fop.fonts.cff | |
org.apache.fop.fonts.truetype |
Classes for TrueType fonts.
|
org.apache.fop.render.pcl.fonts | |
org.apache.fop.render.pcl.fonts.truetype |
Constructor and Description |
---|
OTFAdvancedTypographicTableReader(OpenFont otf,
FontFileReader in)
Construct an
OTFAdvancedTypographicTableReader instance. |
Constructor and 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.
|
Modifier and Type | Field and Description |
---|---|
protected FontFileReader |
OpenFont.fontFile
The FontFileReader used to read this TrueType font.
|
Modifier and Type | Method and Description |
---|---|
protected boolean |
TTFSubSetFile.createCvt(FontFileReader in)
Copy the cvt table as is from original font to subset font
|
protected boolean |
TTFSubSetFile.createFpgm(FontFileReader in)
Copy the fpgm table as is from original font to subset font
|
protected 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 checkSumAdjustmentOffset
|
protected 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 table
|
protected 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 size
|
protected 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 font
|
static byte[] |
OTFFile.getCFFData(FontFileReader fontFile)
Reads the CFFData from a given font file
|
java.util.List<java.lang.String> |
OpenFont.getTTCnames(FontFileReader in)
Return TTC font names
|
protected void |
OpenFont.handleCharacterSpacing(FontFileReader in) |
protected void |
TTFFile.initializeFont(FontFileReader in) |
protected abstract void |
OpenFont.initializeFont(FontFileReader in) |
protected void |
OTFFile.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.
|
void |
OpenFont.readFont(FontFileReader in,
java.lang.String header,
MultiByteFont mbfont)
Reads a font.
|
boolean |
OpenFont.readFont(FontFileReader in,
java.lang.String header,
java.lang.String name)
Read the font data.
|
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.
|
void |
OTFSubSetFile.readFont(FontFileReader in,
java.lang.String embeddedName,
java.lang.String header,
MultiByteFont mbFont) |
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 + offset
|
Constructor and Description |
---|
GlyfTable(FontFileReader in,
OFMtxEntry[] metrics,
OFDirTabEntry dirTableEntry,
java.util.Map<java.lang.Integer,java.lang.Integer> glyphs) |
Modifier and Type | Field and Description |
---|---|
protected FontFileReader |
PCLCharacterWriter.fontReader |
Modifier and Type | Method and Description |
---|---|
abstract FontFileReader |
PCLFontReader.getFontFileReader() |
FontFileReader |
PCLSoftFont.getReader() |
Modifier and Type | Method and Description |
---|---|
void |
PCLSoftFont.setReader(FontFileReader reader) |
Modifier and Type | Field and Description |
---|---|
protected FontFileReader |
PCLTTFTable.reader |
protected FontFileReader |
PCLTTFFontReader.reader |
Modifier and Type | Method and Description |
---|---|
FontFileReader |
PCLTTFFontReader.getFontFileReader() |
Modifier and Type | Method and 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) |
Constructor and Description |
---|
PCLTTFOS2FontTable(FontFileReader in) |
PCLTTFPCLTFontTable(FontFileReader in) |
PCLTTFPOSTFontTable(FontFileReader in) |
PCLTTFTable(FontFileReader reader) |
Copyright 1999-2017 The Apache Software Foundation. All Rights Reserved.