Skip to content
Edit this page

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

  1. Read Architecture and Development.
  2. Set up with uv sync.
  3. 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/.
  4. Run uv run pytest, uv run ruff check . and uv run ruff format --check ..
  5. 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 raw and resolved text 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.