|
fop 1.1 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.fop.complexscripts.fonts.GlyphSubtable
org.apache.fop.complexscripts.fonts.GlyphPositioningSubtable
public abstract class GlyphPositioningSubtable
The GlyphPositioningSubtable implements an abstract base of a glyph subtable,
providing a default implementation of the GlyphPositioning interface.
This work was originally authored by Glenn Adams (gadams@apache.org).
| Field Summary |
|---|
| Fields inherited from class org.apache.fop.complexscripts.fonts.GlyphSubtable |
|---|
LF_IGNORE_BASE, LF_IGNORE_LIGATURE, LF_IGNORE_MARK, LF_INTERNAL_USE_REVERSE_SCAN, LF_MARK_ATTACHMENT_TYPE, LF_RESERVED, LF_RIGHT_TO_LEFT, LF_USE_MARK_FILTERING_SET |
| Constructor Summary | |
|---|---|
protected |
GlyphPositioningSubtable(java.lang.String id,
int sequence,
int flags,
int format,
GlyphCoverageTable coverage)
Instantiate a GlyphPositioningSubtable. |
| Method Summary | |
|---|---|
int |
getTableType()
|
java.lang.String |
getTypeName()
|
boolean |
isCompatible(GlyphSubtable subtable)
Determine if a glyph subtable is compatible with this glyph subtable. |
boolean |
position(GlyphPositioningState ps)
Perform glyph positioning at the current index, mutating the positioning state object as required. |
static boolean |
position(GlyphPositioningState ps,
GlyphPositioningSubtable[] sta,
int sequenceIndex)
Apply positioning using specified state and subtable array. |
static boolean |
position(GlyphSequence gs,
java.lang.String script,
java.lang.String language,
java.lang.String feature,
int fontSize,
GlyphPositioningSubtable[] sta,
int[] widths,
int[][] adjustments,
ScriptContextTester sct)
Apply positioning. |
boolean |
usesReverseScan()
|
| Methods inherited from class org.apache.fop.complexscripts.fonts.GlyphSubtable |
|---|
compareTo, equals, getClasses, getCoverage, getCoverageIndex, getCoverageSize, getEntries, getFlags, getFlags, getFormat, getGDEF, getLookupId, getSequence, getTable, getType, hashCode, resolveLookupReferences, setTable, usesReverseScan |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
protected GlyphPositioningSubtable(java.lang.String id,
int sequence,
int flags,
int format,
GlyphCoverageTable coverage)
GlyphPositioningSubtable.
id - subtable identifiersequence - subtable sequenceflags - subtable flagsformat - subtable formatcoverage - subtable coverage table| Method Detail |
|---|
public int getTableType()
getTableType in class GlyphSubtablepublic java.lang.String getTypeName()
getTypeName in class GlyphSubtablepublic boolean isCompatible(GlyphSubtable subtable)
isCompatible in class GlyphSubtablesubtable - a glyph subtable to determine compatibility
public boolean usesReverseScan()
usesReverseScan in class GlyphSubtablepublic boolean position(GlyphPositioningState ps)
position in interface GlyphPositioningps - glyph positioning state object
public static final boolean position(GlyphPositioningState ps,
GlyphPositioningSubtable[] sta,
int sequenceIndex)
sequenceIndex is non-negative, then apply subtables only when current position
matches sequenceIndex in relation to the starting position. Furthermore, upon
successful application at sequenceIndex, then discontinue processing the remaining
ps - positioning statesta - array of subtables to applysequenceIndex - if non negative, then apply subtables only at specified sequence index
public static final boolean position(GlyphSequence gs,
java.lang.String script,
java.lang.String language,
java.lang.String feature,
int fontSize,
GlyphPositioningSubtable[] sta,
int[] widths,
int[][] adjustments,
ScriptContextTester sct)
gs - input glyph sequencescript - taglanguage - tagfeature - tagfontSize - the font sizesta - subtable arraywidths - arrayadjustments - array (receives output adjustments)sct - script context tester
|
fop 1.1 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||