metanorma / isodoc

Generate HTML/Word from Metanorma XML
https://www.metanorma.org
BSD 2-Clause "Simplified" License
4 stars 3 forks source link

Arabic not rendering properly #166

Open opoudjis opened 4 years ago

opoudjis commented 4 years ago

Details at https://github.com/ituob/service-publications-data/issues/27

opoudjis commented 4 years ago
opoudjis commented 3 years ago

Twitter_cldr has helper methods to address Right-to-Left

opoudjis commented 3 years ago

from https://github.com/metanorma/mn-native-pdf/issues/314#issuecomment-831194245

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".

opoudjis commented 2 years ago

As a generic approach for nested quoted Arabic in IEV documents (https://github.com/glossarist/iev-document/issues/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 commented 1 year ago

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