Class GsubWorkerForBengali.BeforeAndAfterSpanComponent

java.lang.Object
org.apache.fontbox.ttf.gsub.GsubWorkerForBengali.BeforeAndAfterSpanComponent
Enclosing class:
GsubWorkerForBengali

private static class GsubWorkerForBengali.BeforeAndAfterSpanComponent extends Object
Models characters like O-kar (ো) and OU-kar (ৌ). Since these 2 characters is represented by 2 components, one before and one after the Vyanjan Varna on which this is used, this glyph has to be replaced by these 2 glyphs. For O-kar, it has to be replaced by E-kar (ে) and AA-kar (া). For OU-kar, it has be replaced by E-kar (ে) and ৗ.
  • Field Details

    • originalCharacter

      private final char originalCharacter
    • beforeComponentCharacter

      private final char beforeComponentCharacter
    • afterComponentCharacter

      private final char afterComponentCharacter
  • Constructor Details

    • BeforeAndAfterSpanComponent

      BeforeAndAfterSpanComponent(char originalCharacter, char beforeComponentCharacter, char afterComponentCharacter)