|
fop 2.1 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface Substitutable
Optional interface which indicates that glyph substitution is supported and, if supported, can perform substitution.
This work was originally authored by Glenn Adams (gadams@apache.org).
Method Summary | |
---|---|
boolean |
performsSubstitution()
Determines if font performs glyph substitution. |
java.lang.CharSequence |
performSubstitution(java.lang.CharSequence cs,
java.lang.String script,
java.lang.String language,
java.util.List associations,
boolean retainControls)
Perform substitutions on characters to effect glyph substitution. |
java.lang.CharSequence |
reorderCombiningMarks(java.lang.CharSequence cs,
int[][] gpa,
java.lang.String script,
java.lang.String language,
java.util.List associations)
Reorder combining marks in character sequence so that they precede (within the sequence) the base character to which they are applied. |
Method Detail |
---|
boolean performsSubstitution()
java.lang.CharSequence performSubstitution(java.lang.CharSequence cs, java.lang.String script, java.lang.String language, java.util.List associations, boolean retainControls)
cs
- character sequence to map to output font encoding character sequencescript
- a script identifierlanguage
- a language identifierassociations
- optional list to receive list of character associationsretainControls
- if true, then retain control characters and their glyph mappings, otherwise remove
java.lang.CharSequence reorderCombiningMarks(java.lang.CharSequence cs, int[][] gpa, java.lang.String script, java.lang.String language, java.util.List associations)
cs
- character sequence within which combining marks to be reorderedgpa
- associated glyph position adjustments (also reordered)script
- a script identifierlanguage
- a language identifierassociations
- optional list of associations to be reordered
|
fop 2.1 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |