Khmer Unicode Issue in PDF Generation
See original GitHub issueThis may related with issue #391.
I try exporting from the table or javascript data.
This is the original data
I also try something like font coversion like this https://jsbin.com/fufafotoji/edit?html,js,output
It does show Khmer text (but not properly character) and lose all English text as shown here
Note: If I use jsPDF generating pdf from html. it works.
` openPDF():void {
let DATA = document.getElementById('htmlData');
html2canvas(DATA).then(canvas => {
let fileWidth = 208;
let fileHeight = canvas.height * fileWidth / canvas.width;
const FILEURI = canvas.toDataURL('image/png')
let PDF = new jsPDF('p', 'mm', 'a4');
let position = 0;
PDF.addImage(FILEURI, 'PNG', 0, position, fileWidth, fileHeight)
PDF.save(`${this.title}.pdf`);
});
}`
Issue Analytics
- State:
- Created 2 years ago
- Comments:9 (2 by maintainers)
Top Results From Across the Web
Khmer Unicode Render Not Correctly when Export As PDF
Dear Support Team, I have a problem when I call Export Dialog of gridcontrol.ShowRibbonPrintPreview() then I select PDF as my export option.
Read more >PDF rendering issue with Khmer language - Stack Overflow
I think your issue should be solved with recent Android version from 4.4.4 that the render of Khmer Unicode is fine.
Read more >Khmer unicode is not shown in PDF doc - Free Support Forum
I want to create a pdf doc which can display khmer language (Unicode font).Here is my code String fontPath = Environment.
Read more >Can not generate correct PDF from Khmer Unicode(Cambodia ...
Hi, I am Visal who like Joomla so much. I can not generate correct PDF from Khmer(Asian) article. It show non-readable content in...
Read more >How to get Khmer fonts on the .pdf output in XML Publisher
Hi, We are trying to generate PDFs containing text in Khmer Unicode (Cambodian) fonts. The text is rendered correctly in the XML Output...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Thanks a lot
https://react-pdf.org/components#document, try this. or you can use broswer print.