Package | Description |
---|---|
org.docx4j.fonts.fop.fonts.truetype |
Classes for TrueType fonts.
|
Modifier and Type | Method and Description |
---|---|
protected boolean |
TTFFile.checkTTC(FontFileReader in,
String name)
Check if this is a TrueType collection and that the given
name exists in the collection.
|
protected void |
TTFFile.getNumGlyphs(FontFileReader in)
Read the number of glyphs from the "maxp" table
|
List |
TTFFile.getTTCnames(FontFileReader in)
Return TTC font names
|
protected void |
TTFFile.readDirTabs(FontFileReader in)
Read Table Directory from the current position in the
FontFileReader and fill the global HashMap dirTabs
with the table name (String) as key and a TTFDirTabEntry
as value.
|
void |
TTFFile.readFont(FontFileReader in)
Reads the font using a FontFileReader.
|
boolean |
TTFFile.readFont(FontFileReader in,
String name)
Read the font data.
|
byte[] |
TTFSubSetFile.readFont(FontFileReader in,
String name,
Map glyphs)
Returns a subset of the original font.
|
protected void |
TTFFile.readFontHeader(FontFileReader in)
Read the "head" table, this reads the bounding box and
sets the upem (unitsPerEM) variable
|
protected void |
TTFFile.readHorizontalHeader(FontFileReader in)
Read the "hhea" table to find the ascender and descender and
size of "hmtx" table, as a fixed size font might have only
one width.
|
protected void |
TTFFile.readHorizontalMetrics(FontFileReader in)
Read "hmtx" table and put the horizontal metrics
in the mtxTab array.
|
protected void |
TTFFile.readIndexToLocation(FontFileReader in)
Read the "loca" table.
|
Copyright © 2007-2019. All Rights Reserved.