summaryrefslogtreecommitdiff
path: root/riscos/font.c
diff options
context:
space:
mode:
authorJames Bursa <james@netsurf-browser.org>2006-03-08 08:27:19 +0000
committerJames Bursa <james@netsurf-browser.org>2006-03-08 08:27:19 +0000
commit548e5089f85f27658545e72836d103afbd3623bc (patch)
treeffa491f7c390b3c0f990d5aa64768ab6d7c889e9 /riscos/font.c
parent0eebadfa4083eb20b14a9a290c521bc5d59f4ead (diff)
downloadnetsurf-548e5089f85f27658545e72836d103afbd3623bc.tar.gz
netsurf-548e5089f85f27658545e72836d103afbd3623bc.tar.bz2
[project @ 2006-03-08 08:27:19 by bursa]
Disable font blending during printing (should fix text printing problems for LaserJets). svn path=/import/netsurf/; revision=2111
Diffstat (limited to 'riscos/font.c')
-rw-r--r--riscos/font.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/riscos/font.c b/riscos/font.c
index 411bb134a..7d0b92ab8 100644
--- a/riscos/font.c
+++ b/riscos/font.c
@@ -398,7 +398,8 @@ bool nsfont_paint(struct css_style *style, const char *string,
nsfont_read_style(style, &font_family, &font_size, &font_style);
code = rufl_paint(font_family, font_style, font_size * scale,
- string, length, x, y, rufl_BLEND_FONT);
+ string, length, x, y,
+ print_active ? 0 : rufl_BLEND_FONT);
if (code != rufl_OK) {
if (code == rufl_FONT_MANAGER_ERROR)
LOG(("rufl_paint: rufl_FONT_MANAGER_ERROR: 0x%x: %s",