Skip to content

Bangla font issue #3310

@iqbalhossensayem

Description

@iqbalhossensayem

🐛 Bug: Bengali text rendering issues (e-kar spacing + glyph clipping)

🔍 Issue 1 : Incorrect "ে" (e-kar) rendering

📄 Description

When rendering Bengali text using @react-pdf/renderer, characters containing the pre-base vowel sign "ে" (e-kar) are displayed incorrectly.

The "ে" character is not properly positioned before the base consonant. Instead, it introduces unexpected spacing between characters, making the word visually broken.


🔍 Example

Expected (Correct rendering):
হোসেন

Actual Output:
হো সেন

🧪Reproduction

import { Document, Page, Text } from "@react-pdf/renderer";

1. চিত্রলিপি. বিভিন্ন ধরনের টাইপোগ্রাফি, ব্যানার, পোস্টার ইত্যাদি ডিজাইন সামগ্রী যা আপনার কাজকে করে তুলতে পারে

📸 Screenshot

! [ url ] ( https://ibb.co.com/LXqd2c82 )


🔍 Issue 2: Text Clipping / Incomplete Rendering

📄 Description

Sometimes (not everytime) Bengali words are partially cut off when rendered using @react-pdf/renderer.

Parts of characters (especially bottom or end portions) are not fully visible, making the text appear incomplete.


🔍 Example

Expected:
বাংলা
মুফতি ইকবাল হোসেন নাটোরি

Actual:
বাংল
মুফতি ইকবাল হোসেন না টো

🧪Reproduction

import { Document, Page, Text } from "@react-pdf/renderer";

2. আমার সোনার বাংলা আমি তোমায় ভালোবাসি

📸 Screenshot

! [ url ] ( https://ibb.co.com/dJx7LWTZ )


⚠️ Observations

  • Issue occurs across multiple Bengali words
  • Affects readability and visual correctness
  • Happens with different fonts

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions