diff options
author | Albert Astals Cid <aacid@kde.org> | 2008-05-08 23:15:58 +0200 |
---|---|---|
committer | Albert Astals Cid <aacid@kde.org> | 2008-05-08 23:15:58 +0200 |
commit | 19ec5a531cb03a7bee1cfcc9c7d5c4390fbd069d (patch) | |
tree | 6cb6bd24619ee7c0b08a1a9b30b135b2d735bc4c | |
parent | 1cf5f0fda542efef575a123622637d81b9c42053 (diff) |
Fix build with --enable-fixedpoint
-rw-r--r-- | splash/Splash.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/splash/Splash.cc b/splash/Splash.cc index 970cf95a..8209d885 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); |