[Poppler-bugs] [Bug 27294] Illegal ASCII85 string in PostScript output

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Wed Mar 24 09:43:32 PDT 2010


http://bugs.freedesktop.org/show_bug.cgi?id=27294





--- Comment #1 from Anders Blomdell <anders.blomdell at control.lth.se>  2010-03-24 09:43:32 PST ---
Shouldn't all the loops that looks like:

  for (i = 1; i <= (useASCIIHex ? 1 : 4); ++i) {

be:

  for (i = 1; i <= (useASCIIHex ? 1 : 5); ++i) {

since ASCII85 is a 4->(1/5) byte encoding, which means that each 32 bits gives
either 1 (all zeroes -> z) or 5 bytes of output. 


-- 
Configure bugmail: http://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.


More information about the Poppler-bugs mailing list