diff options
author | inmarket <inmarket@ugfx.org> | 2017-01-20 08:04:03 +1000 |
---|---|---|
committer | inmarket <inmarket@ugfx.org> | 2017-01-20 08:04:03 +1000 |
commit | b90055d2f9792a7ee8df82ffc2a4d65bcf466e38 (patch) | |
tree | e6f2c41fb69a628944197d4e16b94df8146ab640 /src/gdisp | |
parent | 9360b2725035727262df05ae720654a48d620c69 (diff) | |
download | uGFX-b90055d2f9792a7ee8df82ffc2a4d65bcf466e38.tar.gz uGFX-b90055d2f9792a7ee8df82ffc2a4d65bcf466e38.tar.bz2 uGFX-b90055d2f9792a7ee8df82ffc2a4d65bcf466e38.zip |
Fixed extra dots when drawing anti-aliased fonts with wordwrap
Diffstat (limited to 'src/gdisp')
-rw-r--r-- | src/gdisp/gdisp.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gdisp/gdisp.c b/src/gdisp/gdisp.c index 11d5c6c9..e1ee6951 100644 --- a/src/gdisp/gdisp.c +++ b/src/gdisp/gdisp.c @@ -3486,7 +3486,7 @@ void gdispGDrawBox(GDisplay *g, coord_t x, coord_t y, coord_t cx, coord_t cy, co mf_wordwrap(font, cx, str, mf_countline_callback, &nbrLines); wrapParameters.y += (cy+1 - nbrLines*font->height)/2; - mf_wordwrap(font, cx, str, mf_fillline_callback, &wrapParameters); + mf_wordwrap(font, cx, str, mf_drawline_callback, &wrapParameters); #else y += (cy+1 - font->height)/2; mf_render_aligned(font, x, y, justify, str, 0, drawcharglyph, g); |