|
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.GlyphTable.UseSpec
public static class GlyphTable.UseSpec
The UseSpec
class comprises a lookup table reference
and the feature that selected the lookup table.
Constructor Summary | |
---|---|
GlyphTable.UseSpec(GlyphTable.LookupTable lookupTable,
java.lang.String feature)
Construct a glyph lookup table use specification. |
Method Summary | |
---|---|
int |
compareTo(java.lang.Object o)
|
boolean |
equals(java.lang.Object o)
|
java.lang.String |
getFeature()
|
GlyphTable.LookupTable |
getLookupTable()
|
int |
hashCode()
|
boolean |
position(GlyphSequence gs,
java.lang.String script,
java.lang.String language,
int fontSize,
int[] widths,
int[][] adjustments,
ScriptContextTester sct)
Perform positioning processing using this use specification's lookup table. |
GlyphSequence |
substitute(GlyphSequence gs,
java.lang.String script,
java.lang.String language,
ScriptContextTester sct)
Perform substitution processing using this use specification's lookup table. |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public GlyphTable.UseSpec(GlyphTable.LookupTable lookupTable, java.lang.String feature)
lookupTable
- a glyph lookup tablefeature
- a feature that caused lookup table selectionMethod Detail |
---|
public GlyphTable.LookupTable getLookupTable()
public java.lang.String getFeature()
public GlyphSequence substitute(GlyphSequence gs, java.lang.String script, java.lang.String language, ScriptContextTester sct)
gs
- an input glyph sequencescript
- a script identifierlanguage
- a language identifiersct
- a script specific context tester (or null)
public boolean position(GlyphSequence gs, java.lang.String script, java.lang.String language, int fontSize, int[] widths, int[][] adjustments, ScriptContextTester sct)
gs
- an input glyph sequencescript
- a script identifierlanguage
- a language identifierfontSize
- size in device unitswidths
- array of default advancements for each glyph in fontadjustments
- accumulated adjustments array (sequence) of 4-tuples of placement [PX,PY] and advance [AX,AY] adjustments, in that order,
with one 4-tuple for each element of glyph sequencesct
- a script specific context tester (or null)
public int hashCode()
hashCode
in class java.lang.Object
public boolean equals(java.lang.Object o)
equals
in class java.lang.Object
public int compareTo(java.lang.Object o)
compareTo
in interface java.lang.Comparable
|
fop 1.1 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |