org.apache.fontbox.ttf
Class NamingTable

java.lang.Object
  extended by org.apache.fontbox.ttf.TTFTable
      extended by org.apache.fontbox.ttf.NamingTable

public class NamingTable
extends TTFTable

A table in a true type font.

Version:
$Revision: 1.1 $
Author:
Ben Litchfield (ben@benlitchfield.com)

Field Summary
static java.lang.String TAG
          A tag that identifies this table type.
 
Constructor Summary
NamingTable()
           
 
Method Summary
 java.util.List<NameRecord> getNameRecords()
          This will get the name records for this naming table.
 void initData(TrueTypeFont ttf, TTFDataStream data)
          This will read the required data from the stream.
 
Methods inherited from class org.apache.fontbox.ttf.TTFTable
getCheckSum, getLength, getOffset, getTag, setCheckSum, setLength, setOffset, setTag
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

TAG

public static final java.lang.String TAG
A tag that identifies this table type.

See Also:
Constant Field Values
Constructor Detail

NamingTable

public NamingTable()
Method Detail

initData

public void initData(TrueTypeFont ttf,
                     TTFDataStream data)
              throws java.io.IOException
This will read the required data from the stream.

Overrides:
initData in class TTFTable
Parameters:
ttf - The font that is being read.
data - The stream to read the data from.
Throws:
java.io.IOException - If there is an error reading the data.

getNameRecords

public java.util.List<NameRecord> getNameRecords()
This will get the name records for this naming table.

Returns:
A list of NameRecord objects.


Copyright © 2008-2011 Apache Software Foundation. All Rights Reserved.