Files
vectorcraft/crates/pdf
z3r0pix3l e71b4783f2 PDF import: Arabic ligatures keep their letters in order (#6072)
A PDF names a ligature's characters in logical order (lam then alef for
the lam-alef glyph), while a horizontal line of type is gathered glyph by
glyph in visual order and then put back in logical order character by
character. The ligature's characters were turned round with the line:
لا came in as ال, بلال as بالل and الله as هللا. Each glyph's
characters now go into the line in visual order, so putting the line back
restores them.
2026-11-08 21:13:54 +03:00
..