diff options
| author | Felix Domke <tmbinc@elitedvb.net> | 2005-05-20 19:34:55 +0000 |
|---|---|---|
| committer | Felix Domke <tmbinc@elitedvb.net> | 2005-05-20 19:34:55 +0000 |
| commit | 09d0105821c71f6f78f40bf84ad5d82b70bcb7ea (patch) | |
| tree | 29a1b3813b9b97484de72b3892359b4bdc02f099 | |
| parent | 6a88cbc2bfa43b2a18eb896b3d635622da7e9d0a (diff) | |
| download | enigma2-09d0105821c71f6f78f40bf84ad5d82b70bcb7ea.tar.gz enigma2-09d0105821c71f6f78f40bf84ad5d82b70bcb7ea.zip | |
- use "xadvance" instead of "glpyh->width" as bounding box width
| -rw-r--r-- | lib/gdi/font.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/gdi/font.cpp b/lib/gdi/font.cpp index cc244941..ef92d53a 100644 --- a/lib/gdi/font.cpp +++ b/lib/gdi/font.cpp @@ -332,6 +332,7 @@ int eTextPara::appendGlyph(Font *current_font, FT_Face current_face, FT_UInt gly ng.bbox.setHeight( glyph->height ); xadvance+=kern; + ng.bbox.setWidth(xadvance); ng.x=cursor.x()+kern; ng.y=cursor.y(); |
