Top Description Fields Methods
org.apache.fontbox.ttf.model

public Interface GsubData

Known Direct Implementers
org.apache.fontbox.ttf.model.MapBackedGsubData
Imports
java.util.Set

Model for data from the GSUB tables
Author
Palash Ray

Field Summary

Modifier and TypeField and Description
public static final GsubData
NO_DATA_FOUND

To be used when there is no GSUB data available

Method Summary

Modifier and TypeMethod and Description
public String

Returns:

The name of the script that is active.
getActiveScriptName
()

A Language can have more than one script that is supported.

public ScriptFeature
getFeature(String featureName)

public Language
public Set<String>
public boolean

Field Detail

NO_DATA_FOUNDback to summary
public static final GsubData NO_DATA_FOUND

To be used when there is no GSUB data available

Method Detail

getActiveScriptNameback to summary
public String getActiveScriptName()

A Language can have more than one script that is supported. However, at any given point, only one of the many scripts are active.

Returns:String

The name of the script that is active.

getFeatureback to summary
public ScriptFeature getFeature(String featureName)
getLanguageback to summary
public Language getLanguage()
getSupportedFeaturesback to summary
public Set<String> getSupportedFeatures()
isFeatureSupportedback to summary
public boolean isFeatureSupported(String featureName)