summaryrefslogtreecommitdiffstats
path: root/x11vnc/tkx11vnc
diff options
context:
space:
mode:
authorrunge <runge>2007-07-05 02:03:33 +0000
committerrunge <runge>2007-07-05 02:03:33 +0000
commitc4c92d3a36c99ccf4bfe9e97cff41b96f147ab6d (patch)
tree9cb68d30e54690ed8cdbb4ae236025f680dbb0a9 /x11vnc/tkx11vnc
parentb2c291feea10854089aadd6c35a103d262b8a817 (diff)
downloadlibtdevnc-c4c92d3a36c99ccf4bfe9e97cff41b96f147ab6d.tar.gz
libtdevnc-c4c92d3a36c99ccf4bfe9e97cff41b96f147ab6d.zip
x11vnc: -debug_ncache, fix big fonts in tkx11vnc.
Diffstat (limited to 'x11vnc/tkx11vnc')
-rwxr-xr-xx11vnc/tkx11vnc14
1 files changed, 13 insertions, 1 deletions
diff --git a/x11vnc/tkx11vnc b/x11vnc/tkx11vnc
index 82bba7f..76e6304 100755
--- a/x11vnc/tkx11vnc
+++ b/x11vnc/tkx11vnc
@@ -286,6 +286,7 @@ Debugging
debug_tiles
debug_grabs
debug_sel
+ debug_ncache
dbg
=GAL LOFF
@@ -383,7 +384,7 @@ Tuning
ncache_no_dtchange
ncache_no_rootpixmap
ncache_keep_anims
- =A ncache_reset_rootpixmap
+ =RA ncache_reset_rootpixmap
=GAL LOFF
--
=GAL SharedMemory::
@@ -6321,6 +6322,17 @@ set bfont "-adobe-helvetica-bold-r-*-*-*-120-*-*-*-*-*-*"
set sfont "-adobe-helvetica-bold-r-*-*-*-100-*-*-*-*-*-*"
set snfont "-adobe-helvetica-medium-r-*-*-*-100-*-*-*-*-*-*"
set ffont "fixed"
+
+set ls ""
+catch {set ls [font metrics $bfont -linespace]}
+if {$ls != ""} {
+ if {$ls > 14} {
+ # some recent setups have BIG rendering for the above fonts:
+ set bfont "-adobe-helvetica-bold-r-*-*-*-90-*-*-*-*-*-*"
+ set sfont "-adobe-helvetica-bold-r-*-*-*-75-*-*-*-*-*-*"
+ set snfont "-adobe-helvetica-medium-r-*-*-*-75-*-*-*-*-*-*"
+ }
+}
set help_indent 24;
set reply_xdisplay ""
set all_settings "None so far."