Package org.apache.fontbox.ttf
Class OpenTypeScript
java.lang.Object
org.apache.fontbox.ttf.OpenTypeScript
A class for mapping Unicode codepoints to OpenType script tags
- Author:
- Aaron Madlon-Kay
- See Also:
-
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionstatic String[]
getScriptTags
(int codePoint) Obtain the OpenType script tags associated with the given Unicode codepoint.
-
Field Details
-
INHERITED
- See Also:
-
UNKNOWN
- See Also:
-
TAG_DEFAULT
- See Also:
-
-
Method Details
-
getScriptTags
Obtain the OpenType script tags associated with the given Unicode codepoint. The result may contain the special value#INHERITED
, which indicates that the codepoint's script can only be determined by its context. Unknown codepoints are mapped to#TAG_DEFAULT
.- Parameters:
codePoint
-- Returns:
- An array of four-char script tags
-