Hi,

you could start with counting the number of entries in the s_cEncoding array.

It sums up to 255 instead of 256. The indices are in the comments in hex. 0xCC is missing!

Otherwise you could save a pdf with a subsetted type1 font and use the 'í'. Then look with a debugger at line 626 of PdfFontType1.cpp to see it can not find the dotlessi or any other character defined after index 0xCC.


On 16-6-2020 03:24, Michal Sudolsky wrote:
Hi,

Can you please let me know how exactly I can test this?

On Mon, Jun 1, 2020 at 3:28 PM Ferdinand Oeinck <f...@bigroses.net <mailto:f...@bigroses.net>> wrote:

    Hi,

    I'm using the podofo source code since some years.

    In my own copy I fixed this bug in PdfEncoding.cpp in 2013.

    Recently I've update my source code to 0.9.6 and found the bug is
    still
    present on sourceforge.

    Maybe you could fix it in the main repository? Thanks in advance!

    Ferdinand Oeinck,
    Big Roses Software.

    Please look at lines 1605 and 1606 of PdfEncoding.cpp:

    0x00B8, // CB # CEDILLA # cedilla
    0x02DD, // CD # DOUBLE ACUTE ACCENT # hungarumlaut

    I think there is one line missing:
    0x00B8, // CB # CEDILLA # cedilla
    /*--> missing*/ 0x0000, // CC undefined
    0x02DD, // CD # DOUBLE ACUTE ACCENT # hungarumlaut

    When I include this line, subsetted type1 fonts using 'í' will find
    /dotlessi otherwise they would find /.notdef



    _______________________________________________
    Podofo-users mailing list
    Podofo-users@lists.sourceforge.net
    <mailto: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