Reverted last change and only apply color conversion for alpha channel glyphs.
svn path=/trunk/netsurf/; revision=13373
This commit is contained in:
parent
68466df8a2
commit
1beb016c47
|
@ -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) {
|
||||
|
|
Loading…
Reference in New Issue