public static class GlyphSubstitutionTable.Ligature extends Object
Ligature
class implements a ligature lookup result in terms of
a ligature glyph (code) and the N+1... components that comprise the ligature,
where the Nth component was consumed in the coverage table lookup mapping to
this ligature instance.Constructor and Description |
---|
Ligature(int ligature,
int[] components)
Instantiate a ligature.
|
Modifier and Type | Method and Description |
---|---|
int[] |
getComponents() |
int |
getLigature() |
int |
getNumComponents() |
boolean |
matchesComponents(int[] glyphs)
Determine if input sequence at offset matches ligature's components.
|
String |
toString() |
public Ligature(int ligature, int[] components)
ligature
- glyph idcomponents
- sequence of N+1... component glyph (or character) identifierspublic int getLigature()
public int[] getComponents()
public int getNumComponents()
public boolean matchesComponents(int[] glyphs)
glyphs
- array of glyph components to match (including first, implied glyph)Copyright © 2025 Apache Software Foundation. All rights reserved.