Commit 558e35cc authored by Vincent Seguin's avatar Vincent Seguin

Correction du bug de calcul du masque (fontes outlines, point sous les ]).

Vive les ^ qui suivent les ].
parent dbb405d1
...@@ -267,7 +267,7 @@ vout_font_t *vout_LoadFont( const char *psz_name ) ...@@ -267,7 +267,7 @@ vout_font_t *vout_LoadFont( const char *psz_name )
((p_font->p_data[ i_char * pi_buffer[1] + i_line ] << 1) | ((p_font->p_data[ i_char * pi_buffer[1] + i_line ] << 1) |
(p_font->p_data[ i_char * pi_buffer[1] + i_line ] >> 1) | (p_font->p_data[ i_char * pi_buffer[1] + i_line ] >> 1) |
(i_line > 0 ? p_font->p_data[ i_char * pi_buffer[1] + i_line - 1]: 0) | (i_line > 0 ? p_font->p_data[ i_char * pi_buffer[1] + i_line - 1]: 0) |
(i_line < pi_buffer[1] ? p_font->p_data[ i_char * pi_buffer[1] + i_line + 1]: 0)) (i_line < pi_buffer[1] - 1 ? p_font->p_data[ i_char * pi_buffer[1] + i_line + 1]: 0))
& ~p_font->p_data[ i_char * pi_buffer[1] + i_line ]; & ~p_font->p_data[ i_char * pi_buffer[1] + i_line ];
} }
} }
......
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