Rev 4316 | Rev 4325 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 4316 | Rev 4322 | ||
---|---|---|---|
Line 509... | Line 509... | ||
509 | for (y = 0; y < FONT_SCANLINES; y++) { |
509 | for (y = 0; y < FONT_SCANLINES; y++) { |
510 | unsigned int x; |
510 | unsigned int x; |
511 | 511 | ||
512 | for (x = 0; x < FONT_WIDTH; x++) { |
512 | for (x = 0; x < FONT_WIDTH; x++) { |
513 | screen.mask_conv(&screen.glyphs[GLYPH_POS(glyph, y, false) + x * screen.pixelbytes], |
513 | screen.mask_conv(&screen.glyphs[GLYPH_POS(glyph, y, false) + x * screen.pixelbytes], |
514 | (fb_font[glyph][y] & (1 << (7 - x))) ? 1 : 0); |
514 | (fb_font[glyph][y] & (1 << (7 - x))) ? true : false); |
515 | 515 | ||
516 | screen.mask_conv(&screen.glyphs[GLYPH_POS(glyph, y, true) + x * screen.pixelbytes], |
516 | screen.mask_conv(&screen.glyphs[GLYPH_POS(glyph, y, true) + x * screen.pixelbytes], |
517 | (fb_font[glyph][y] & (1 << (7 - x))) ? 1 : 0); |
517 | (fb_font[glyph][y] & (1 << (7 - x))) ? false : true); |
518 | } |
518 | } |
519 | } |
519 | } |
520 | } |
520 | } |
521 | } |
521 | } |
522 | 522 |