Skip to content

Gujarati Text Not Rendering Correctly in JasperReports PDF Output #561

@jayeshsony

Description

@jayeshsony

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)

Image

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions