Package org.apache.fontbox.ttf.gsub
package org.apache.fontbox.ttf.gsub
This package contains utility classes which extract meanigful data from the highly obfuscated GSUB table structures.
-
ClassDescriptionTakes in the given text having compound-glyphs to substitute, and splits it into chunks consisting of parts that should be substituted and the ones that can be processed normally.A default implementation of
GsubWorkerthat 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.This class splits an array of GlyphIds with a prospective match.This is an in-efficient implementation based on regex, which helps split the array.This class has utility methods to extract meaningful GsubData from the highly obfuscated GSUB Tables.This class is responsible for replacing GlyphIDs with new ones according to the GSUB tables.Gets aLanguagespecific instance of aGsubWorkerBengali-specific implementation of GSUB systemModels characters like O-kar (ো) and OU-kar (ৌ).Devanagari-specific implementation of GSUB systemDFLT (Default) script-specific implementation of GSUB system.Gujarati-specific implementation of GSUB system.Latin-specific implementation of GSUB system