Font error when export PDF on mobile app

Answered
Diep Nguyen asked on September 6, 2021

My mobile app is using ionic framework with Vietnamese language. I used NotoSans-Regular.ttf expecting no font error when exporting pdf. But it's not work
For reference:
handler: (pivot: any, title: string = 'pivot') => pivot.exportTo('pdf', {
destinationType: 'plain',
fontUrl: 'https://cdn.flexmonster.com/fonts/NotoSans-Regular.ttf',
pageOrientation: 'landscape',
}
 

Attachments:
capture.png

1 answer

Public
Illia Yatsyshyn Illia Yatsyshyn Flexmonster September 6, 2021

Hello,
 
Thank you for reaching out to us.
 
Please make sure an actual export is performed using UTF-8 encoding. The encoding is likely to be specified as a parameter of the export method used in your case.
 
Please let us know if it helps.
Looking forward to hearing from you.
 
Regards,
Illia

Please login or Register to Submit Answer