[Poppler-bugs] [Bug 37189] patch to fix a bad memory access when a character starts to the left of the image

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Thu Jul 21 15:14:36 PDT 2011


https://bugs.freedesktop.org/show_bug.cgi?id=37189

--- Comment #4 from Albert Astals Cid <tsdgeos at terra.es> 2011-07-21 15:14:36 PDT ---
I'm a bit confused on the 
alpha0 = (xShift > 0? (p[xx / 8] << xShift) | (p[xx / 8 + 1] >> (8 - xShift)):
p[xx / 8]);
constructs.

If as you say when glyph->aa is false we use one bit per pixel aren't we using
two pixels by using the | operator?

-- 
Configure bugmail: https://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