Flutter Khmer Pdf New!

The pdf package requires you to load the font as bytes. Here is the critical part: to allow the underlying HarfBuzz shaping engine to process Khmer correctly.

void main() async // Create a new PDF document final pdf = FlutterKhmerPdfDocument(); flutter khmer pdf

flutter_html_to_pdf_v2 : Recently updated to better support complex scripts including , Thai, and Arabic. The pdf package requires you to load the font as bytes