wrong display of rtl scripts

Author: NECOtypeCreated Apr 9, 2026Updated Apr 9, 2026

Currently, Arabic scripts arent displayed correctly.

  1. The characters are placed from left to right which is the wrong direction.
  2. The characters are in the isolated form regardless of their position in the word.
bash
# Persian: Tehran
uv run .\create_map_poster.py -c "Tehran" -C "Iran" -dc "تهران" -dC "ایران" --font-family "Vazirmatn" -t noir
bash
# Arabic: Dubai
uv run .\create_map_poster.py -c "Dubai" -C "UAE" -dc "دبي" -dC "الإمارات" --font-family "Noto Kufi Arabic" -t terracotta
تهران دبي

The posters should display the text this way:

تهران دبي

Source: originalankur/maptoposter