dart_pdf icon indicating copy to clipboard operation
dart_pdf copied to clipboard

Flutter Hindi/Marathi text issue in PDF

Open amitatale opened this issue 1 year ago • 3 comments

I am developing app in flutter text. i want to show all my Hindi/Marathi text in flutter pdf. but some text are not working in pdf.

I am using this font for this: pdf: ^3.10.4

code: final fontData = (await rootBundle.load('assets/Hind-Medium.ttf')).buffer.asUint8List();

final pdfFont = pw.Font.ttf(fontData.buffer.asByteData());

// Create a PDF document final pdf = pw.Document();

PFA WhatsApp Image 2023-09-17 at 8 29 02 PM (1) (1) attachmentL

amitatale avatar Nov 02 '23 20:11 amitatale

I am facing the same issue with Hindi text.

Screenshot_20240429_123553

jitendraAn avatar Apr 29 '24 07:04 jitendraAn

I am also facing the same issue for all indian languages

MathanM avatar May 27 '24 15:05 MathanM