diegomura / diegomura/react-pdf

Tamil language not display correct when text wrap

Open
#1,748 0 comments 0 reactions 0 assignees View on GitHub
new feature
Dominant language
TypeScript
Stars
16.8k
Forks
1.3k
Avg merge
5h 6m
Merged PRs (30d)
52

Description

**Describe the bug**
I'm using react-pdf and Noto Sans Tamil (google fonts). when render the text where wrapped then some unicode was added.
![image](https://user-images.githubusercontent.com/16466928/158301759-2f63f99a-1ecc-495e-ba4a-fd1fe5e34de5.png)

Text used:
முன்னொரு காலத்தில், ஒரு ஆடு மேய்க்கும் இடையச் சிறுவன் தனது ஆடுகளை மேய விட்டு விட்டு மரத்தினடியில் அமர்ந்து கொண்டு இருந்தான். பணியேதும் இன்றி ஓய்வாக அமர்ந்திருப்பது அலுப்பு ஏற்படுத்த, விளையாடும் எண்ணத்துடன் ,“ஓநாய்! ஓநாய் வருகிறது! என் ஆடுகளைக் கொன்று புசிக்க ஓநாய் வருகிறது!” என்று கூக்குரலிட்டான் சிறுவன். இந்த சிறுவனுடைய கூக்குரலைக் கேட்டு அக்கம் பக்கத்து வயல்களில் விளையாடிக் கொண்டிருந்த நபர்கள் சிறுவன் இருக்கும் இடத்தை நோக்கி விரைந்தனர்.

**Expected behavior**
The text should display correct

**Desktop (please complete the following information):**
- OS: [e.g. MacOS, Windows]
- Browser [e.g. chrome, safari]
- React-pdf version [e.g. v1.1.0]

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.