diff options
author | nyamatongwe <unknown> | 2009-11-02 04:51:51 +0000 |
---|---|---|
committer | nyamatongwe <unknown> | 2009-11-02 04:51:51 +0000 |
commit | c563199dde32ce1d04e95c478dbd6a3e352f5d4d (patch) | |
tree | 517893f316edf898a972316bbcd3b7b64c82de0f /src/Style.cxx | |
parent | dde4d3e2775b52a8b678d209c2299ec637210a03 (diff) | |
download | scintilla-mirror-c563199dde32ce1d04e95c478dbd6a3e352f5d4d.tar.gz |
Added setting for font quality to allow application to choose anti-aliased,
non-anti-aliased or lcd-optimized text.
Diffstat (limited to 'src/Style.cxx')
-rw-r--r-- | src/Style.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
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; |