You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
I’m experiencing an issue with line breaks in Chinese text when using @react-pdf/renderer. While text in other languages (e.g., English, French) automatically wraps within the set container width, Chinese characters are rendered in a single line, even when the text overflows the container width. This issue significantly impacts readability and layout in documents with Chinese text. I am using Noto Serif Simplified Chinese font.
Expected behavior
The Chinese text should wrap in next line when it exceeds the defined container width or page boundary.
Screenshots
Desktop (please complete the following information):
OS: Ubuntu, Windows
Browser: Chrome, Firefox
React-pdf version: v3.4.4
The text was updated successfully, but these errors were encountered:
Describe the bug
I’m experiencing an issue with line breaks in Chinese text when using @react-pdf/renderer. While text in other languages (e.g., English, French) automatically wraps within the set container width, Chinese characters are rendered in a single line, even when the text overflows the container width. This issue significantly impacts readability and layout in documents with Chinese text. I am using Noto Serif Simplified Chinese font.
Expected behavior
The Chinese text should wrap in next line when it exceeds the defined container width or page boundary.
Screenshots
Desktop (please complete the following information):
The text was updated successfully, but these errors were encountered: