Commit 400c2ab0 authored by Derk-Jan Hartman's avatar Derk-Jan Hartman

* freetype.c: fix for blurry subs? someone please confirm

parent c1425efc
...@@ -468,7 +468,8 @@ static void Render( filter_t *p_filter, subpicture_t *p_spu, ...@@ -468,7 +468,8 @@ static void Render( filter_t *p_filter, subpicture_t *p_spu,
{ {
for( x = 0; x < p_glyph->bitmap.width; x++, i_bitmap_offset++ ) for( x = 0; x < p_glyph->bitmap.width; x++, i_bitmap_offset++ )
{ {
p_y[i_offset + x] = i_y; p_y[i_offset + x] = i_y*pi_gamma[p_glyph->bitmap.buffer[i_bitmap_offset]] *
opacity / ( 256 * 256 );
p_u[i_offset + x] = i_u; p_u[i_offset + x] = i_u;
p_v[i_offset + x] = i_v; p_v[i_offset + x] = i_v;
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment