Package org.apache.fontbox.ttf.model
Class MapBackedGsubData
java.lang.Object
org.apache.fontbox.ttf.model.MapBackedGsubData
- All Implemented Interfaces:
GsubData
-
Field Summary
FieldsFields inherited from interface org.apache.fontbox.ttf.model.GsubData
NO_DATA_FOUND -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionALanguagecan have more than one script that is supported.getFeature(String featureName) booleanisFeatureSupported(String featureName)
-
Field Details
-
language
-
activeScriptName
-
glyphSubstitutionMap
-
-
Constructor Details
-
MapBackedGsubData
-
-
Method Details
-
getLanguage
- Specified by:
getLanguagein interfaceGsubData
-
getActiveScriptName
Description copied from interface:GsubDataALanguagecan have more than one script that is supported. However, at any given point, only one of the many scripts are active.- Specified by:
getActiveScriptNamein interfaceGsubData- Returns:
- The name of the script that is active.
-
isFeatureSupported
- Specified by:
isFeatureSupportedin interfaceGsubData
-
getFeature
- Specified by:
getFeaturein interfaceGsubData
-
getSupportedFeatures
- Specified by:
getSupportedFeaturesin interfaceGsubData
-