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 not rendering properly #166

Open
opoudjis opened this issue Jan 6, 2020 · 5 comments
Open

Arabic not rendering properly #166

opoudjis opened this issue Jan 6, 2020 · 5 comments
Assignees
Labels
bug Something isn't working

Comments

@opoudjis
Copy link
Contributor

opoudjis commented Jan 6, 2020

Details at ituob/service-publications-data#27

@opoudjis opoudjis added the bug Something isn't working label Jan 6, 2020
@opoudjis opoudjis self-assigned this Jan 6, 2020
@opoudjis
Copy link
Contributor Author

opoudjis commented Jan 6, 2020

  • Text is going left to right by default
  • Left-aligned text should be right-aligned
  • End of line not always detected for final letters

@opoudjis
Copy link
Contributor Author

Twitter_cldr has helper methods to address Right-to-Left

@opoudjis
Copy link
Contributor Author

from metanorma/mn-native-pdf#314 (comment)

set globally 'right-to-left' text direction property (https://www.w3.org/International/questions/qa-html-dir), except cover page, because this property changes table's column order.
for cover page (in case of fixed table template), set 'right-to-left' text direction property inside each cell.
instead of properties text-align="left" and text-align="right" use text-align="start" and text-align="end".

@ronaldtse ronaldtse moved this to Triage in Metanorma Nov 14, 2021
@ronaldtse ronaldtse moved this from Triage to High priority in Metanorma Nov 14, 2021
@opoudjis
Copy link
Contributor Author

As a generic approach for nested quoted Arabic in IEV documents (glossarist/iev-document#18), I'm wrapping l10n() outputs in Right-To-Left Marker, Arabic Text Marker, or Left-to-Right Marker, if the overall document script conflicts with the current localised text script in directionality.

@ronaldtse
Copy link
Contributor

So this issue has just come back -- ITU has asked for service publications to support Arabic.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
Status: 🏔 High priority
Development

No branches or pull requests

2 participants