summaryrefslogtreecommitdiff
path: root/core/fxge/ge/cfx_renderdevice.cpp
diff options
context:
space:
mode:
authorNicolas Pena <npm@chromium.org>2017-05-25 10:43:36 -0400
committerChromium commit bot <commit-bot@chromium.org>2017-05-25 15:00:31 +0000
commite0e2cd4f8a5634f2878f9b3bf3ce321ffd53a980 (patch)
treed270bb98a411c1c6797cec95c614a714e9d20336 /core/fxge/ge/cfx_renderdevice.cpp
parent13115ecf2087f5db33deea16dd1c72c7b976cafd (diff)
downloadpdfium-e0e2cd4f8a5634f2878f9b3bf3ce321ffd53a980.tar.xz
Cleanup some nits in CFX_Font
Change-Id: I30b59c794fc855fd36c33da3c60053ae08b3dac1 Reviewed-on: https://pdfium-review.googlesource.com/5910 Reviewed-by: dsinclair <dsinclair@chromium.org> Commit-Queue: dsinclair <dsinclair@chromium.org>
Diffstat (limited to 'core/fxge/ge/cfx_renderdevice.cpp')
-rw-r--r--core/fxge/ge/cfx_renderdevice.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/fxge/ge/cfx_renderdevice.cpp b/core/fxge/ge/cfx_renderdevice.cpp
index 3949837982..f9153d1cdb 100644
--- a/core/fxge/ge/cfx_renderdevice.cpp
+++ b/core/fxge/ge/cfx_renderdevice.cpp
@@ -961,7 +961,7 @@ bool CFX_RenderDevice::DrawNormalText(int nChars,
if (anti_alias < FXFT_RENDER_MODE_LCD && glyphs.size() > 1)
AdjustGlyphSpace(&glyphs);
- FX_RECT bmp_rect1 = FXGE_GetGlyphsBBox(glyphs, anti_alias);
+ FX_RECT bmp_rect1 = FXGE_GetGlyphsBBox(glyphs, anti_alias, 1.0f, 1.0f);
if (scale_x > 1 && scale_y > 1) {
bmp_rect1.left--;
bmp_rect1.top--;