Hack: half-merge glyph border with outline to avoid ugly anti-aliasing

in certain situations.

git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28816 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
greg 2009-03-05 20:36:35 +00:00
parent 95dac90527
commit 153e7ada4c
1 changed files with 1 additions and 1 deletions

View File

@ -243,7 +243,7 @@ static bitmap_t* fix_outline_and_shadow(bitmap_t* bm_g, bitmap_t* bm_o)
unsigned char c_g, c_o;
c_g = g[x];
c_o = o[x];
o[x] = (c_o > c_g) ? c_o : 0;
o[x] = (c_o > c_g) ? c_o - (c_g/2) : 0;
s[x] = (c_o < 0xFF - c_g) ? c_o + c_g : 0xFF;
}
g += bm_g->w;