Package com.itextpdf.text.pdf.languages
Class BanglaGlyphRepositioner
java.lang.Object
com.itextpdf.text.pdf.languages.IndicGlyphRepositioner
com.itextpdf.text.pdf.languages.BanglaGlyphRepositioner
- All Implemented Interfaces:
GlyphRepositioner
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprivate Glyph
getGlyph
(char c) private void
handleOKaarAndOUKaar
(int currentIndex, List<Glyph> glyphList, char first, char second) This is a dirty hack to display O-Kar (ো) and Ou-Kar (ৌ).void
repositionGlyphs
(List<Glyph> glyphList)
-
Field Details
-
CHARCTERS_TO_BE_SHIFTED_LEFT_BY_1
-
cmap31
-
glyphSubstitutionMap
-
-
Constructor Details
-
BanglaGlyphRepositioner
-
-
Method Details
-
repositionGlyphs
- Specified by:
repositionGlyphs
in interfaceGlyphRepositioner
- Overrides:
repositionGlyphs
in classIndicGlyphRepositioner
-
getCharactersToBeShiftedLeftByOnePosition
- Specified by:
getCharactersToBeShiftedLeftByOnePosition
in classIndicGlyphRepositioner
-
handleOKaarAndOUKaar
This is a dirty hack to display O-Kar (ো) and Ou-Kar (ৌ). Since this spans before and after a Byanjan Borno like Ka (ক), the O-kar is split into two characters: the E-Kar (ে) and the A-Kar (া). Similar the Ou-Kar is split into two characters: the E-Kar (ে) and the char (ৗ). -
getGlyph
-