4/5/2023 0 Comments Skia bold fontI think the problem why in my sample the bold text gets displayed as normal text when the font stream is removed, is because the PDF contains no info about the font weight. Times is a standard font, so i whould think there might be an issue with the way PDFium creates the PDF, but absolutely possible that i am completely wrong with my guess.Īndy Attachments PrintToPdfTest_EmbeddedFontRemovedWithItext.pdf (3.37 KiB) Downloaded 837 times PrintToPdfTest.pdf (56.77 KiB) Downloaded 826 times AndyB Techie Posts: 39 Joined: Sun 3:00 pm This post-process would work fine for me, however the text displays not properly with the embedded font removed as you can see in this sample. If i remove the embedded font with Itext then i get the attached PrintToPdfTest_EmbeddedFontRemovedWithItext.pdf with 4KB. The font which is specified in the web page (Times in this sample) gets embedded in the PDF. Then i get the attached PrintToPdfTest.pdf with 57KB. I think the fonts which are used in the web page are generally used in the PDF, at least common fonts.īody
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |