public static class GlyphSubstitutionTable.Ligature
extends java.lang.Object
Ligature
class implements a ligature lookup result in terms of
a ligature glyph (code) and the Constructor | Description |
---|---|
Ligature(int ligature,
int[] components) |
Instantiate a ligature.
|
Modifier and Type | Method | Description |
---|---|---|
int[] |
getComponents() |
|
int |
getLigature() |
|
int |
getNumComponents() |
|
boolean |
matchesComponents(int[] glyphs) |
Determine if input sequence at offset matches ligature's components.
|
java.lang.String |
toString() |
public Ligature(int ligature, int[] components)
ligature
- glyph idcomponents
- sequence of public int getLigature()
public int[] getComponents()
public int getNumComponents()
public boolean matchesComponents(int[] glyphs)
glyphs
- array of glyph components to match (including first, implied glyph)public java.lang.String toString()
toString
in class java.lang.Object
Copyright 1999-2016 The Apache Software Foundation. All Rights Reserved.