Describe the bug
Hello,
My Dart app is primarily used by English-speaking users, but we also support multiple languages, including Arabic. We've encountered an issue where, when the Arabic font is used as a fallback, the exported PDF renders Arabic characters incorrectly. The characters are spaced apart and do not appear connected as they should in the Arabic script.
However, when the Arabic font is set as the main font, the rendering works perfectly, and the text appears as expected.
To Reproduce
Generate a PDF that contains Arabic text using an Arabic font as a fallback (not as the main font).
Observe the output where Arabic characters are not correctly rendered (characters are spaced apart).
Expected behavior
The output should render Arabic text correctly, whether the Arabic font is used as a fallback or as the main font.
ScreenshotsArabic font as fallback:
Arabic font as main font
Desktop (please complete the following information):
Describe the bug Hello, My Dart app is primarily used by English-speaking users, but we also support multiple languages, including Arabic. We've encountered an issue where, when the Arabic font is used as a fallback, the exported PDF renders Arabic characters incorrectly. The characters are spaced apart and do not appear connected as they should in the Arabic script.
However, when the Arabic font is set as the main font, the rendering works perfectly, and the text appears as expected.
To Reproduce
Expected behavior The output should render Arabic text correctly, whether the Arabic font is used as a fallback or as the main font.
Screenshots Arabic font as fallback:
Arabic font as main font
Desktop (please complete the following information):