From c563199dde32ce1d04e95c478dbd6a3e352f5d4d Mon Sep 17 00:00:00 2001 From: nyamatongwe Date: Mon, 2 Nov 2009 04:51:51 +0000 Subject: Added setting for font quality to allow application to choose anti-aliased, non-anti-aliased or lcd-optimized text. --- src/Style.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/Style.cxx') diff --git a/src/Style.cxx b/src/Style.cxx index ad081a66d..4314dec0a 100644 --- a/src/Style.cxx +++ b/src/Style.cxx @@ -126,7 +126,7 @@ bool Style::EquivalentFontTo(const Style *other) const { return strcmp(fontName, other->fontName) == 0; } -void Style::Realise(Surface &surface, int zoomLevel, Style *defaultStyle, bool extraFontFlag) { +void Style::Realise(Surface &surface, int zoomLevel, Style *defaultStyle, int extraFontFlag) { sizeZoomed = size + zoomLevel; if (sizeZoomed <= 2) // Hangs if sizeZoomed <= 1 sizeZoomed = 2; -- cgit v1.2.3