summaryrefslogtreecommitdiff
path: root/atari/plot
diff options
context:
space:
mode:
authorOle Loots <ole@monochrom.net>2012-01-03 23:38:51 +0000
committerOle Loots <ole@monochrom.net>2012-01-03 23:38:51 +0000
commit1beb016c47d22925149dbbc227f562d63914977d (patch)
treeaa533ae2f58f3ffd120c22994488ce785e488277 /atari/plot
parent68466df8a27383717d2e29ae12a6c8e0e08a4922 (diff)
downloadnetsurf-1beb016c47d22925149dbbc227f562d63914977d.tar.gz
netsurf-1beb016c47d22925149dbbc227f562d63914977d.tar.bz2
Reverted last change and only apply color conversion for alpha channel glyphs.
svn path=/trunk/netsurf/; revision=13373
Diffstat (limited to 'atari/plot')
-rwxr-xr-xatari/plot/font_freetype.c2
1 files changed, 1 insertions, 1 deletions
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) {