View Single Post
Old 12-18-2006, 04:52 PM   #2
scotty1024
Banned
scotty1024 is no ebook tyro.scotty1024 is no ebook tyro.scotty1024 is no ebook tyro.scotty1024 is no ebook tyro.scotty1024 is no ebook tyro.scotty1024 is no ebook tyro.scotty1024 is no ebook tyro.scotty1024 is no ebook tyro.scotty1024 is no ebook tyro.scotty1024 is no ebook tyro.
 
Posts: 1,300
Karma: 1479
Join Date: Jul 2006
Location: Peoples Republic of Washington
Device: Reader / iPhone / Librie / Kindle
I wondered why I was chasing my tail so vigorously with the highlighter enhancement, then I found this bug...

In SplashOutputDev.cc in method void SplashOutputDev::setFillColor(int r, int g, int b)

Code:
  gray = (GfxColorComp)(0.299 * rgb.r + 0.587 * rgb.g + 0.114 * rgb.g + 0.5);
Should be

Code:
  gray = (GfxColorComp)(0.299 * rgb.r + 0.587 * rgb.g + 0.114 * rgb.b + 0.5);
Building a better iLiad, one Poppler bug at at time.

Entered as Poppler bug 9386.

I've also built a splashModeMono4 into Poppler and I'm testing it to make sure the error dispersion works the way iRex likes it. This will require a new poppler and a new ipdf to use it. The new ipdf won't work with an older poppler since the older poppler doesn't grok splashModeMono4. But an old ipdf will work with the new poppler.

Last edited by scotty1024; 12-18-2006 at 05:01 PM. Reason: added poppler bug #
scotty1024 is offline   Reply With Quote