diff options
Diffstat (limited to 'x11vnc/tkx11vnc.h')
-rw-r--r-- | x11vnc/tkx11vnc.h | 14 |
1 files changed, 13 insertions, 1 deletions
diff --git a/x11vnc/tkx11vnc.h b/x11vnc/tkx11vnc.h index 88acd19..e659f88 100644 --- a/x11vnc/tkx11vnc.h +++ b/x11vnc/tkx11vnc.h @@ -297,6 +297,7 @@ char gui_code[] = ""; " debug_tiles\n" " debug_grabs\n" " debug_sel\n" +" debug_ncache\n" " dbg\n" " =GAL LOFF\n" "\n" @@ -394,7 +395,7 @@ char gui_code[] = ""; " ncache_no_dtchange\n" " ncache_no_rootpixmap\n" " ncache_keep_anims\n" -" =A ncache_reset_rootpixmap\n" +" =RA ncache_reset_rootpixmap\n" " =GAL LOFF\n" " --\n" " =GAL SharedMemory::\n" @@ -6332,6 +6333,17 @@ char gui_code[] = ""; "set sfont \"-adobe-helvetica-bold-r-*-*-*-100-*-*-*-*-*-*\"\n" "set snfont \"-adobe-helvetica-medium-r-*-*-*-100-*-*-*-*-*-*\"\n" "set ffont \"fixed\"\n" +"\n" +"set ls \"\"\n" +"catch {set ls [font metrics $bfont -linespace]}\n" +"if {$ls != \"\"} {\n" +" if {$ls > 14} {\n" +" # some recent setups have BIG rendering for the above fonts:\n" +" set bfont \"-adobe-helvetica-bold-r-*-*-*-90-*-*-*-*-*-*\"\n" +" set sfont \"-adobe-helvetica-bold-r-*-*-*-75-*-*-*-*-*-*\"\n" +" set snfont \"-adobe-helvetica-medium-r-*-*-*-75-*-*-*-*-*-*\"\n" +" }\n" +"}\n" "set help_indent 24;\n" "set reply_xdisplay \"\"\n" "set all_settings \"None so far.\"\n" |