aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authornyamatongwe <devnull@localhost>2005-06-07 22:58:20 +0000
committernyamatongwe <devnull@localhost>2005-06-07 22:58:20 +0000
commitf576f0b7653fc98ce694c15aded527375e033a79 (patch)
tree3884846dce7b6776114036566a5ead0c6c19a6a5
parentad2031cafa21a7dfc1b19728a3b5faffe4506fb0 (diff)
downloadscintilla-mirror-f576f0b7653fc98ce694c15aded527375e033a79.tar.gz
Commented out currently unused size measurement string.
Hiding sizing measurement string with ifdef except when used.
-rw-r--r--gtk/PlatGTK.cxx6
1 files changed, 4 insertions, 2 deletions
diff --git a/gtk/PlatGTK.cxx b/gtk/PlatGTK.cxx
index 6d7f92fdb..99c6767bc 100644
--- a/gtk/PlatGTK.cxx
+++ b/gtk/PlatGTK.cxx
@@ -1467,10 +1467,12 @@ int SurfaceImpl::WidthChar(Font &font_, char ch) {
// rarely used in code.
// This string contains a good range of characters to test for size.
-const char largeSizeString[] = "ÂÃÅÄ `~!@#$%^&*()-_=+\\|[]{};:\"\'<,>.?/1234567890"
- "abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ";
+//const char largeSizeString[] = "ÂÃÅÄ `~!@#$%^&*()-_=+\\|[]{};:\"\'<,>.?/1234567890"
+// "abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ";
+#ifndef FAST_WAY
const char sizeString[] = "`~!@#$%^&*()-_=+\\|[]{};:\"\'<,>.?/1234567890"
"abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ";
+#endif
int SurfaceImpl::Ascent(Font &font_) {
if (!(font_.GetID()))