[Poppler-bugs] [Bug 91188] Strange splashRound behaviour that sometimes causes all white render on windows.

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Thu Jul 2 23:49:13 PDT 2015


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

--- Comment #3 from Dmytro Morgun <lztoad at gmail.com> ---
USE_FLOAT looks slowest for me (not that much, though, but I really have
tests). I thought that there are two options - fixed point or float and the
fixed point not sounds fast, so I wanted to test float.
I stuck to double in the end, so looks like it's not that needed for me
personally.

Inserting after line 138 (or 158 if not for __GNUC__ && __i386__)

#elif USE_FLOAT
  return (int)roundf(x);

also fixes that behavior and looks safer, imo.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/poppler-bugs/attachments/20150703/1e9be48c/attachment.html>


More information about the Poppler-bugs mailing list