What it works on

Any PDF with a text layer. Not scans.

A quick test: open the PDF and try to select some text. If you can select it, even if it pastes as garbage, khpdf can very likely read it. If the whole page selects as one picture, it is a scan.

Works well

Kind of documentTested on
Word, including Microsoft 365, with Khmer OS fontsWorld Bank 2016, ADB 2014โ€“2023, UN Human Rights Council 2025
Limon legacy fonts (roughly 1995โ€“2012)ILO training manual, LICADHO 2004 report, ADB 2012 book
InDesign with complete fonts (Kantumruy Pro and others)UNDP 2024
Tables, numbered lists, mixed Khmer and EnglishLICADHO statistics tables, World Bank acronym list
Sideways landscape pages and diagramsADB 2011, ADB 2012

Not yet

Scanned PDFsDetected and reported as needing OCR. khpdf does no OCR. Official announcements from ministries are often scans.
InDesign files with fonts cut down to bare glyphsPartly readable. Seen with the Content and Moul fonts.
ABC and Khek legacy fontsDetected, but decoded with the Limon table, which is likely wrong for them.
Complex layoutsPosters and diagrams: the text is right, the arrangement can be imperfect.

Found a PDF that comes out wrong? See Troubleshooting.