Re: [Podofo-users] Patch to process DecodeParms array

2018-08-15 Thread Dmitry Salychev
Hi guys.

I didn't get any response and decided to remind about this patch. Do I
need to change/fix it?

Regards,
Dmitry

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


Re: [Podofo-users] PdfFontMetricsBase14::GetGlyphIdUnicode() not always finds the character

2018-08-15 Thread zyx

On 15.8.2018 at 12:56 zyx wrote:

there's a real mess when pdf_uint16be really holds big-endian value


Oops, there was meant to be pdf_utf16be, not pdf_uint16be, of course.

zyx

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


[Podofo-users] PdfFontMetricsBase14::GetGlyphIdUnicode() not always finds the character

2018-08-15 Thread zyx
Hi,
I just committed a change, r1935 [1], which tries to address an issue
with some characters not being found by
PdfFontMetricsBase14::GetGlyphIdUnicode(). This had been discovered
with a PdfEncodingDifference and I chose this lame change only because
there's a real mess when pdf_uint16be really holds big-endian value and
not little-endian value, especially when it comes to the difference
encoding [2]. I tried to disable byte swap in
PdfFontMetricsBase14::GetWidthArray(), but it broke things for non-
differenced characters. I wasn't able to find any better approach than
this lame, I'm sorry for that. Maybe someone can come with something
better.
Bye,
zyx

[1] http://sourceforge.net/p/podofo/code/1935
[2] that's one of the reasons why the
EncodingTest::testDifferencesEncoding test is failing, from my
point of view


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