Kurdish support checks¶
Manual checks that automated tests cannot make. The automated DOCX tests read the XML
(tests/test_exports.py); this file records how the files look in real word processors (FR-83).
DOCX direction¶
What to check in each application:
- Kurdish paragraphs start on the right, and their lines are aligned to the right.
- Letters join, and the text uses the named complex-script font (default Sahel); Latin text uses Manrope, headings too.
- Headings use the heading style in the same font, in bold.
- In a mixed paragraph, English words read left to right in place, and numbers are not reversed.
- Bullet lists have the bullet on the right. Numbered items keep the number from the PDF.
- Page numbers on their own line follow the direction of the page.
- Each PDF page starts a new page.
| Date | Application | Input | Result |
|---|---|---|---|
| 2026-11-21 | LibreOffice 26.2.6.3 (headless export to PDF, then viewed), python-docx 1.2.0 | Grade 9 Kurdish textbook, pages 10–13 (--format docx) |
1–7 pass. The heading first came out in the theme font; fixed by removing w:cstheme from the styles. Page numbers were first aligned left; fixed by giving paragraphs with no letters the page's direction. |
| — | Microsoft Word | — | Not checked yet. |
To repeat the check:
kurdpdf convert book.pdf --pages 10-13 --format docx --out out/
soffice --headless --convert-to pdf --outdir out/ out/book.docx
Then open out/book.pdf, or open the DOCX in Word.