X-Git-Url: https://codewiz.org/gitweb?a=blobdiff_plain;f=gfx%2Fbitmap.c;h=e99a254d0f440dca8b28ebacd5e77f4b6c7c971c;hb=c49c99e64ee64ad490b2aea2d6c6d8f9f6d225db;hp=ccc6f0bece6930a6465e31726dc2890722c2885a;hpb=4d062df20ce3b853319899469adbc37457b15499;p=bertos.git diff --git a/gfx/bitmap.c b/gfx/bitmap.c index ccc6f0be..e99a254d 100755 --- a/gfx/bitmap.c +++ b/gfx/bitmap.c @@ -16,6 +16,9 @@ /*#* *#* $Log$ + *#* Revision 1.7 2006/03/07 22:18:04 bernie + *#* Correctly compute text width for prop fonts; Make styles a per-bitmap attribute. + *#* *#* Revision 1.6 2006/02/23 11:17:16 bernie *#* Documentation fixes. *#* @@ -73,6 +76,7 @@ void gfx_bitmapInit(Bitmap *bm, uint8_t *raster, coord_t w, coord_t h) #if CONFIG_GFX_TEXT gfx_setFont(bm, &default_font); + bm->styles = 0; #endif #if CONFIG_GFX_CLIPPING