[poppler] splash/Splash.cc

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


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

New commits:
commit 19ec5a531cb03a7bee1cfcc9c7d5c4390fbd069d
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