X-Git-Url: http://code.vuplus.com/gitweb/?p=vuplus_dvbapp;a=blobdiff_plain;f=lib%2Fgdi%2Ffont.cpp;h=a5db43a9e3af99765f12ae4e91d933c5d38c1899;hp=74cda40e457214b5bd048ecf8aa5b6d8d42343e6;hb=d4a487ead0f0a70be38632e8a094e87c06daf903;hpb=070618e10cea71d375789b9b95d236ac650660e7 diff --git a/lib/gdi/font.cpp b/lib/gdi/font.cpp index 74cda40..a5db43a 100644 --- a/lib/gdi/font.cpp +++ b/lib/gdi/font.cpp @@ -370,7 +370,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 );