diff options
author | nyamatongwe <unknown> | 2005-06-07 22:58:20 +0000 |
---|---|---|
committer | nyamatongwe <unknown> | 2005-06-07 22:58:20 +0000 |
commit | b67df0e642f9e41fe5659fa46ba9190a90f34de7 (patch) | |
tree | 3884846dce7b6776114036566a5ead0c6c19a6a5 | |
parent | c908b1c2339393913a424d806c26174d004ea7bd (diff) | |
download | scintilla-mirror-b67df0e642f9e41fe5659fa46ba9190a90f34de7.tar.gz |
Commented out currently unused size measurement string.
Hiding sizing measurement string with ifdef except when used.
-rw-r--r-- | gtk/PlatGTK.cxx | 6 |
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())) |