Top Description Methods
org.apache.fontbox.ttf.gsub

public Interface GsubWorker

Known Direct Implementers
org.apache.fontbox.ttf.gsub.GsubWorkerForBengali, org.apache.fontbox.ttf.gsub.GsubWorkerForDevanagari, org.apache.fontbox.ttf.gsub.GsubWorkerForGujarati, org.apache.fontbox.ttf.gsub.GsubWorkerForLatin, org.apache.fontbox.ttf.gsub.DefaultGsubWorker
Imports
java.util.List

This class is responsible for replacing GlyphIDs with new ones according to the GSUB tables. Each language should have an implementation of this.
Author
Palash Ray

Method Summary

Modifier and TypeMethod and Description
public List<Integer>

Returns:

list of transformed glyph IDs
applyTransforms
(List<Integer>
list of original glyph IDs
originalGlyphIds
)

Applies language-specific transforms including GSUB and any other pre or post-processing necessary for displaying Glyphs correctly.

Method Detail

applyTransformsback to summary
public List<Integer> applyTransforms(List<Integer> originalGlyphIds)

Applies language-specific transforms including GSUB and any other pre or post-processing necessary for displaying Glyphs correctly.

Parameters
originalGlyphIds:List<Integer>

list of original glyph IDs

Returns:List<Integer>

list of transformed glyph IDs