diff options
Diffstat (limited to 'lib/gdi')
| -rw-r--r-- | lib/gdi/font.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/gdi/font.cpp b/lib/gdi/font.cpp index dfac144c..b7d3c1db 100644 --- a/lib/gdi/font.cpp +++ b/lib/gdi/font.cpp @@ -363,7 +363,7 @@ int eTextPara::appendGlyph(Font *current_font, FT_Face current_face, FT_UInt gly } pGlyph ng; - ng.bbox.setLeft( (flags&GS_ISFIRST|cursor.x()-1)+glyph->left ); + ng.bbox.setLeft( ((flags&GS_ISFIRST)|(cursor.x()-1))+glyph->left ); ng.bbox.setTop( cursor.y() - glyph->top ); ng.bbox.setWidth( glyph->width ); ng.bbox.setHeight( glyph->height ); |
