Contributing¶
Thanks for helping make Kurdish PDFs readable.
Reporting a problem¶
Open an issue with the output of kurdpdf inspect file.pdf --fonts --page-table, the page
number, and a line or two of what the text should say. Attach a PDF or font only if you have the
right to share it.
Changing the code¶
- Read Architecture and Development.
- Set up with
uv sync. - Add a test for every bug fix and every new font case. Tests generate their PDFs; never commit
PDFs, fonts, OCR models or anything under
temp/. - Run
uv run pytest,uv run ruff check .anduv run ruff format --check .. - Keep commits focused, with a message that says what changed and why.
Project rules:
- HarfBuzz is the only font engine; fonts and glyphs are identified by outline, not by name.
- Kurdish language logic (normalization, orthography, word lists) goes through zimankit.
- The
rawandresolvedtext layers are never normalized, and no glyph is guessed. - No network access at run time.
- Dependencies must be GPL-compatible.
License¶
By contributing you agree that your work is released under GPL-3.0-or-later.