Package org.apache.fontbox.ttf.gsub
Class DefaultGsubWorker
- java.lang.Object
-
- org.apache.fontbox.ttf.gsub.DefaultGsubWorker
-
- All Implemented Interfaces:
GsubWorker
class DefaultGsubWorker extends java.lang.Object implements GsubWorker
A default implementation ofGsubWorkerthat actually does not transform the glyphs yet allows to correctly load GSUB table data even from fonts for which a complete glyph substitution is not implemented.
-
-
Field Summary
Fields Modifier and Type Field Description private static org.apache.commons.logging.LogLOG
-
Constructor Summary
Constructors Constructor Description DefaultGsubWorker()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.util.List<java.lang.Integer>applyTransforms(java.util.List<java.lang.Integer> originalGlyphIds)Applies language-specific transforms including GSUB and any other pre or post-processing necessary for displaying Glyphs correctly.
-
-
-
Method Detail
-
applyTransforms
public java.util.List<java.lang.Integer> applyTransforms(java.util.List<java.lang.Integer> originalGlyphIds)
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
-
-