On Wed, 2017-02-15 at 13:43 +0100, Etienne Robin wrote:
> The change is not about trying also the opposite byte order, it is
> about trying the single byte encoding (first call to GetUnicodeValue)
> and if it fails, then trying 2-bytes encoding (2nd call to
> GetUnicodeValue).

        Hi,
okay, in that case, why not to virtualize the GetUnicodeValue()
function and provide special implementation for CMap? It will avoid
code duplication and will cover the fix only to CMap.

I've still a feeling like the main issue is elsewhere, but I didn't
investigate this in any way, it's only a feeling.
        Bye,
        zyx

-- 
http://www.litePDF.cz                                 i...@litepdf.cz

------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, SlashDot.org! http://sdm.link/slashdot
_______________________________________________
Podofo-users mailing list
Podofo-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/podofo-users

Reply via email to