On Mon, 2022-06-13 at 17:10 +0200, Blayne Cullen wrote:
> embedding the font (PdfFont->EmbedSubsetFont())

        Hi,
if I'm not mistaken, you do not need to call that function, it's called
on save automatically. It can also break things if you call the
function too early, not for all fonts and so on (there's
PdfDocument::EmbedSubsetFonts() too). I do not think it's a problem
here though.

>  unrecognisable "?" whilst not embedding it prints them correctly.

That usually indicates a problem in used encoding. I faced similar
problems with little endian conversion of the texts. The CreationTest
has a small code for font subsetting:
https://sourceforge.net/p/podofo/code/HEAD/tree/podofo/trunk/test/CreationTest/CreationTest.cpp#l800
Does it work for you?

        Bye,
        zyx


_______________________________________________
Podofo-users mailing list
Podofo-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/podofo-users

Reply via email to