Changeset 1b20da0 in mainline for uspace/lib/draw/font/embedded.c
- Timestamp:
- 2018-02-28T17:52:03Z (7 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 3061bc1
- Parents:
- df6ded8
- git-author:
- Jiří Zárevúcky <zarevucky.jiri@…> (2018-02-28 17:26:03)
- git-committer:
- Jiří Zárevúcky <zarevucky.jiri@…> (2018-02-28 17:52:03)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/draw/font/embedded.c
rdf6ded8 r1b20da0 65 65 for (unsigned int y = 0; y < FONT_SCANLINES; ++y) { 66 66 for (unsigned int x = 0; x < FONT_WIDTH; ++x) { 67 pixel_t p = (fb_font[glyph_id][y] & (1 << (7 - x))) ? 67 pixel_t p = (fb_font[glyph_id][y] & (1 << (7 - x))) ? 68 68 PIXEL(255, 0, 0, 0) : PIXEL(0, 0, 0, 0); 69 69 surface_put_pixel(surface, x, y, p);
Note:
See TracChangeset
for help on using the changeset viewer.