On Sat, 2021-10-09 at 18:25 +0800, 程丹皓 wrote: > as subType is Type0,I get the font from resource,and new a PdfFontCID > object. I tried code like below, it dosen't work, just show a blank > page
Hi, I do not have an answer for your question, I never tried what you do here, but I do not understand why to create another CID font, when you have the font object already. Did you try to set the pCurFont to the painter instead? The second thing is that the embedded font can be a font subset, not containing all characters, thus when you draw with it the missing characters are not drawn at all (can be drawn as "missing character"). As you have the PDF structure browser, check what is generated. That may help you identify the problem. Bye, zyx _______________________________________________ Podofo-users mailing list Podofo-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/podofo-users