diff options
author | nyamatongwe <devnull@localhost> | 2009-11-02 04:51:51 +0000 |
---|---|---|
committer | nyamatongwe <devnull@localhost> | 2009-11-02 04:51:51 +0000 |
commit | 212257e28c87cd6ed2ff244ee6518be0c73fa342 (patch) | |
tree | 517893f316edf898a972316bbcd3b7b64c82de0f /src/Style.cxx | |
parent | a307f5df25fbf8f4e545bdd74a7da6a466568497 (diff) | |
download | scintilla-mirror-212257e28c87cd6ed2ff244ee6518be0c73fa342.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; |