For large text blocks, use pw.RichText with pw.TextSpan and explicitly define textDirection: pw.TextDirection.ltr (Khmer reads left-to-right, but the stacking order requires LTR context).
: You must explicitly load the font using pw.Font.ttf() and apply it to your TextStyle . Without a font that supports Khmer glyphs, the PDF will show boxes (tofu) or incorrectly ordered characters. 2. Khmer Language Flutter Resources flutter khmer pdf