Hi,

On Mon, Oct 11, 2021 at 8:18 AM zyx <z...@gmx.us> wrote:

> 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?
>

Yes, that looks redundant and would probably work only for Type0 font (if
at all). pCurFont should work fine with the most recent podofo (maybe also
with 0.9.7) unless it is a subset font - then only characters used in the
original pdf would work.


> 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").
>
>
Seems fonts here are font subsets as they have prefixes like "YEYMZI+"
(F25).

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
>
_______________________________________________
Podofo-users mailing list
Podofo-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/podofo-users

Reply via email to