Reverted last change and only apply color conversion for alpha channel glyphs.

svn path=/trunk/netsurf/; revision=13373
This commit is contained in:
Ole Loots 2012-01-03 23:38:51 +00:00
parent 68466df8a2
commit 1beb016c47
1 changed files with 1 additions and 1 deletions

View File

@ -503,7 +503,7 @@ static int text( FONT_PLOTTER self, int x, int y, const char *text, size_t leng
uint32_t c = fstyle->foreground ;
/* in -> BGR */
/* out -> ARGB */
if( app.nplanes > 8 )
if( !(self->flags & FONTPLOT_FLAG_MONOGLYPH) )
c = ABGR_TO_RGB(c);
while (nxtchr < length) {