I'm using html-pdf in my app to convert my html into pdf. I was initially facing an issue with the fonts kerning in my generated pdf. See part of the generated pdf below:
I resolved this, reluctantly, by using only svg
fonts in the html. The issue I'm facing now is that whenever I view the generated pdf in chrome, all the 'l' (small case 'L') and 'I' (upper case 'i') now appear as bolded in the new generated pdf. See part of the generated pdf below:
But in the above svg
case, whenever I view that same generated pdf in my default document viewer in Ubuntu or Windows, the pdf appears fine, with no font letter getting bold as above. See part of the generated pdf below:
I've no ides why this is happening. A solution to any one / both of the above issues is welcome.
My backend system is node.js on CentOS 6.7 (Final). The fonts I'm using are ZurichBT-RomanCondensed
and ZurichBT-BoldCondensed
.
via gaganshera
No comments:
Post a Comment