org.foray.font.format.ttf
Class OTFLookupGSUB

java.lang.Object
  extended by org.foray.font.format.ttf.OTFLookupGSUB

public class OTFLookupGSUB
extends Object

An OpenType lookup for the GSUB table.


Nested Class Summary
static class OTFLookupGSUB.LookupType
          Enumeration of possible LookupType values in a GSUB table.
 
Constructor Summary
OTFLookupGSUB()
          Constructor.
 
Method Summary
protected  int getLookupFlag()
          Returns the lookup flag.
protected  OTFLookupGSUB.LookupType getLookupType()
          Returns the lookup type.
protected  OTFLookupGSUBSubtable[] getSubtables()
          Returns the subtables.
static OTFLookupGSUB parse(RandomAccessInput raInput, int offset)
          Parses a lookup.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

OTFLookupGSUB

public OTFLookupGSUB()
Constructor.

Method Detail

parse

public static OTFLookupGSUB parse(RandomAccessInput raInput,
                                  int offset)
                           throws IOException
Parses a lookup.

Parameters:
raInput - The input from which the lookup is being parsed.
offset - The offset in raInput for the start of the lookup table.
Returns:
The parsed lookup table instance.
Throws:
IOException - For I/O errors during parsing.

getLookupType

protected OTFLookupGSUB.LookupType getLookupType()
Returns the lookup type.

Returns:
The lookupType.

getLookupFlag

protected int getLookupFlag()
Returns the lookup flag.

Returns:
The lookupFlag.

getSubtables

protected OTFLookupGSUBSubtable[] getSubtables()
Returns the subtables.

Returns:
The subtables.


Copyright © 2017. All rights reserved.