From 1beb016c47d22925149dbbc227f562d63914977d Mon Sep 17 00:00:00 2001 From: Ole Loots Date: Tue, 3 Jan 2012 23:38:51 +0000 Subject: Reverted last change and only apply color conversion for alpha channel glyphs. svn path=/trunk/netsurf/; revision=13373 --- atari/plot/font_freetype.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'atari/plot/font_freetype.c') diff --git a/atari/plot/font_freetype.c b/atari/plot/font_freetype.c index 3bf8e3428..22c404e7c 100755 --- a/atari/plot/font_freetype.c +++ b/atari/plot/font_freetype.c @@ -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) { -- cgit v1.2.3