diff options
author | Kandrashin Denis <mail@lintest.ru> | 2013-02-02 02:30:05 +0400 |
---|---|---|
committer | Kandrashin Denis <mail@lintest.ru> | 2013-02-02 02:30:05 +0400 |
commit | 825e770295ca5d91c75c7f8e18de20fb6d977208 (patch) | |
tree | 497ddfe1673a7c9850ff187d6e97fb98baa76751 | |
parent | c5cd152ae3888f73dd3d9bcb0873cb5bf4d8ce78 (diff) |
Patch for CREngine
-rw-r--r-- | 3rdparty/crengine/src/lvfntman.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/3rdparty/crengine/src/lvfntman.cpp b/3rdparty/crengine/src/lvfntman.cpp index 49125a70..9d6a8660 100644 --- a/3rdparty/crengine/src/lvfntman.cpp +++ b/3rdparty/crengine/src/lvfntman.cpp @@ -502,7 +502,7 @@ static LVFontGlyphCacheItem * newItem( LVFontLocalGlyphCache * local_cache, lCha lUInt8 w = (lUInt8)(bitmap->width); lUInt8 h = (lUInt8)(bitmap->rows); LVFontGlyphCacheItem * item = LVFontGlyphCacheItem::newItem(local_cache, ch, w, h ); - if ( bitmap->pixel_mode==FT_PIXEL_MODE_MONO ) { //drawMonochrome + if ( FT_Pixel_Mode(bitmap->pixel_mode)==FT_PIXEL_MODE_MONO ) { //drawMonochrome lUInt8 mask = 0x80; const lUInt8 * ptr = (const lUInt8 *)bitmap->buffer; lUInt8 * dst = item->bmp; |