Repository navigation
What's Changed
Arabic shaping bugfixes. No public API or configuration changes.
- bugfix / arabic symbols, numbers order and persian letter variants by @omaralalwi in #20
Fixed
- Arabic percent sign hid text —
٪(U+066A) and its neighbours up to U+066D emitted a broken glyph entity that swallowed the character and the text around it. Fixes #13 - Numbers printed in reversed order — a decimal or thousands separator split a number into two runs that came out reversed, and Arabic-Indic digits were reversed along with the surrounding letters, so
١٠.٥٧rendered as٧٥.٠١. Fixes #12 showNumbersAsHindinow returns Arabic-Indic digits in reading order, including for numbers that stand on their own.- Arabic typed on a Persian or Urdu keyboard — letters such as
ھ(U+06BE) andی(U+06CC) split a sentence into fragments that were each reversed on their own. Fixes #11
Note
Persian text itself is still not shaped: the underlying ar-php shaper cannot render چ ژ گ. This release fixes Arabic that happens to be typed with Persian letters — Gpdf targets Arabic.
Full Changelog: v1.0.8...v1.0.9