Changeset 74f59b7 in mainline
- Timestamp:
- 2020-10-06T18:45:54Z (4 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 8bf9058
- Parents:
- 8fa65af0
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/gfxfont/src/font.c
r8fa65af0 r74f59b7 122 122 gfx_bitmap_params_init(¶ms); 123 123 params.rect = font->rect; 124 params.flags = bmpf_color_key; 125 params.key_color = PIXEL(0, 0, 0, 0); 124 126 125 127 rc = gfx_bitmap_create(tface->gc, ¶ms, NULL, &font->bitmap); … … 364 366 if (nrect->p1.y - nrect->p0.y > params.rect.p1.y) 365 367 params.rect.p1.y = nrect->p1.y - nrect->p0.y; 368 params.flags = bmpf_color_key; 369 params.key_color = PIXEL(0, 0, 0, 0); 366 370 367 371 rc = gfx_bitmap_create(font->typeface->gc, ¶ms, NULL, &nbitmap); … … 701 705 params.rect.p1.x = width; 702 706 params.rect.p1.y = height; 707 params.flags = bmpf_color_key; 708 params.key_color = PIXEL(0, 0, 0, 0); 703 709 704 710 rc = gfx_bitmap_create(font->typeface->gc, ¶ms, NULL, &bitmap);
Note:
See TracChangeset
for help on using the changeset viewer.