Package org.apache.fontbox.ttf.gsub
Interface GsubWorker
-
- All Known Implementing Classes:
DefaultGsubWorker,GsubWorkerForBengali,GsubWorkerForDevanagari,GsubWorkerForGujarati,GsubWorkerForLatin
public interface GsubWorkerThis class is responsible for replacing GlyphIDs with new ones according to the GSUB tables. Each language should have an implementation of this.
-
-
Method Summary
All Methods Instance Methods Abstract 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
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.- Parameters:
originalGlyphIds- list of original glyph IDs- Returns:
- list of transformed glyph IDs
-
-