Gujarati text is not rendered correctly in PDFs generated using JasperReports, even though the font is properly embedded and Unicode encoding is used.
The generated PDF shows broken or incorrectly shaped Gujarati characters (matras and ligatures), while the same text renders perfectly in browsers or other PDF generators.
Observations:
pdffonts confirms the font is embedded correctly (CID TrueType, Identity-H)
Font used: Anek Gujarati (Unicode)
Issue persists across multiple JasperReports versions (6.20.x / 6.21.x)
The same text renders correctly when generated via HTML → PDF or image-based rendering
This indicates a limitation in JasperReports' text rendering (Java2D) for complex Indic scripts.