|
Unified Typesetting API M1-20040817 | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
A glyph is the graphical representation of a character.
Typesetters generate a list of empty (i.e. not initialized) glyphs from a list of characters (i.e. a string). Scripts have to fill required values in (primary the glyph index), substitute several glyphs if necessary and place them.
Field Summary | |
static int |
NO_CHARACTER
0xFFFF is guaranteed to be no Unicode code point. |
Method Summary | |
int |
getCharacter()
Returns the character represented by this glyph, if there are more than one characters this method returns the first one. |
int[] |
getCharacters()
Returns a array of characters represented by this glyph. |
int |
getGlyphIndex()
Returns the glyph index. |
List |
getSubstitutedGlyphs()
Returns a list of glyphs substituted by this one, or null
if there are no substituted glyphs. |
boolean |
isSubstituting()
Tells whether this glyph is substituting several others. |
void |
setGlyphIndex(int i)
Sets the index of this glyph. |
Methods inherited from interface de.inghuimische.uta.typeset.Box |
getAnchors, getAnchorsByClass, getAttributes, getBoundingBox, getShape, getTransformation, setTransformation |
Field Detail |
public static final int NO_CHARACTER
0xFFFF
is guaranteed to be no Unicode code point.
Method Detail |
public int getGlyphIndex()
public void setGlyphIndex(int i)
Script
.
The value depends on the font used.
i
- The index of the glyph.public int getCharacter()
NO_CHARACTER
.
public int[] getCharacters()
public List getSubstitutedGlyphs()
null
if there are no substituted glyphs.
null
if there are no substituted glyphs.public boolean isSubstituting()
true
if this glyph substitutes other one,
false
if it is a single glyph.
|
Unified Typesetting API M1-20040817 | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
![]() An inghuimische.de project. | Copyright (C) 2004 Christian Ziesemer; See the Mozilla Public License for more details. |