Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Arabic fonts render backwards when jumping in new line #684

Closed
YDA93 opened this issue Apr 15, 2023 · 4 comments
Closed

Arabic fonts render backwards when jumping in new line #684

YDA93 opened this issue Apr 15, 2023 · 4 comments
Labels
duplicate This issue is a duplicate

Comments

@YDA93
Copy link

YDA93 commented Apr 15, 2023

Describe the Bug

Arabic fonts render backwards when jumping in new line

Minimal Example to Reproduce

Write a long Arabic sentence and force the text to jump in new line

Expected Behavior

Text should render normally from RTL
The correct sentence is:
طلب رأي ثاني - مستشفى بمرونجراد

Which should be when jumping in new line:
طلب رأي ثاني -
مستشفى بمرونجراد

Actual Behavior

Text became:
ثاني - مستشفى بمرونجراد
طلب رأي

Screenshot 2023-04-15 at 2 25 43 PM

System Information

OS version: macOS 13.3.1 (22E261)
Python version: 3.10.11
XHTML2PDF version: 0.2.9

@YDA93 YDA93 added the bug Something isn't working label Apr 15, 2023
@timobrembeck
Copy link
Collaborator

@YDA93 Thanks for the report! Is this the same issue as #538?

@YDA93
Copy link
Author

YDA93 commented Apr 15, 2023

@timoludwig Yes

@timobrembeck
Copy link
Collaborator

timobrembeck commented Apr 15, 2023

Ok, then I'm closing this one for now. I'm going to pin the older issue at a more prominent place since I think it has a very high priority. It's also stopping ourselves from updating to version 0.2.9 (see digitalfabrik/integreat-cms#2047)...

Maybe you could try to downgrade to version 0.2.8 for the moment? This version has other problems, but at least for the right-to-left languages, the bugs are less severe than the current ones.

@timobrembeck timobrembeck closed this as not planned Won't fix, can't repro, duplicate, stale Apr 15, 2023
@timobrembeck timobrembeck added duplicate This issue is a duplicate and removed bug Something isn't working labels Apr 15, 2023
@YDA93
Copy link
Author

YDA93 commented Apr 15, 2023

@timoludwig Downgrading to 0.2.8 fixes this issue! Thanks

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
duplicate This issue is a duplicate
Projects
None yet
Development

No branches or pull requests

2 participants