[poppler] Branch 'poppler-0.8' - splash/Splash.cc

Albert Astals Cid aacid at kemper.freedesktop.org
Thu May 8 14:17:01 PDT 2008


 splash/Splash.cc |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

New commits:
commit 2702578a3d4adeb19760a65853c31718ea05f3e9
Author: Albert Astals Cid <aacid at kde.org>
Date:   Thu May 8 23:15:58 2008 +0200

    Fix build with --enable-fixedpoint

diff --git a/splash/Splash.cc b/splash/Splash.cc
index 970cf95..8209d88 100644
--- a/splash/Splash.cc
+++ b/splash/Splash.cc
@@ -1766,7 +1766,7 @@ void Splash::fillGlyph2(int x0, int y0, SplashGlyphBitmap *glyph, GBool noClip)
         p += glyph->w;
       }
     } else {
-      const int widthEight = (int)ceil(glyph->w / 8.0);
+      const int widthEight = splashCeil(glyph->w / 8.0);
 
       pipeInit(&pipe, xStart, yStart,
                state->fillPattern, NULL, state->fillAlpha, gFalse, gFalse);
@@ -1812,7 +1812,7 @@ void Splash::fillGlyph2(int x0, int y0, SplashGlyphBitmap *glyph, GBool noClip)
         p += glyph->w;
       }
     } else {
-      const int widthEight = (int)ceil(glyph->w / 8.0);
+      const int widthEight = splashCeil(glyph->w / 8.0);
 
       pipeInit(&pipe, xStart, yStart,
                state->fillPattern, NULL, state->fillAlpha, gFalse, gFalse);


More information about the poppler mailing list