Package org.apache.fontbox.ttf.gsub
Class GsubWorkerForLatin
java.lang.Object
org.apache.fontbox.ttf.gsub.GsubWorkerForLatin
- All Implemented Interfaces:
GsubWorker
Latin-specific implementation of GSUB system
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionapplyGsubFeature(ScriptFeature scriptFeature, List<Integer> originalGlyphs) applyTransforms(List<Integer> originalGlyphIds) Applies language-specific transforms including GSUB and any other pre or post-processing necessary for displaying Glyphs correctly.
-
Field Details
-
LOG
private static final org.apache.commons.logging.Log LOG -
FEATURES_IN_ORDER
This sequence is very important. This has been taken from https://docs.microsoft.com/en-us/typography/script-development/standard -
gsubData
-
-
Constructor Details
-
GsubWorkerForLatin
GsubWorkerForLatin(GsubData gsubData)
-
-
Method Details
-
applyTransforms
Description copied from interface:GsubWorkerApplies language-specific transforms including GSUB and any other pre or post-processing necessary for displaying Glyphs correctly.- Specified by:
applyTransformsin interfaceGsubWorker- Parameters:
originalGlyphIds- list of original glyph IDs- Returns:
- list of transformed glyph IDs
-
applyGsubFeature
-