notaz.gp2x.de
/
libpicofe.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3e1124f
)
fonts: make friendly to rgb1555
author
notaz
<notasas@gmail.com>
Wed, 28 Nov 2012 15:58:14 +0000
(17:58 +0200)
committer
notaz
<notasas@gmail.com>
Wed, 28 Nov 2012 15:58:14 +0000
(17:58 +0200)
fonts.c
patch
|
blob
|
blame
|
history
diff --git
a/fonts.c
b/fonts.c
index
c1164b4
..
472cd45
100644
(file)
--- a/
fonts.c
+++ b/
fonts.c
@@
-250,13
+250,13
@@
void basic_text_out16_nf(void *fb, int w, int x, int y, const char *text)
if (fd&0x02) s[6] = val;
if (fd&0x01) s[7] = val;
- // draw "shadow"
+ // draw "shadow"
(RGB1555 compatible)
if (l > 0)
fdp = fontdata8x8[c * 8 + l - 1];
for (fd1 = 0x80; fd1 != 0; fd1 >>= 1, s++)
if (!(fd & (fd1 >> 1)) && ((fdp | fd) & fd1))
- s[1] = (s[1] >> 1) & 0x
7b
ef;
+ s[1] = (s[1] >> 1) & 0x
39
ef;
}
}
}