summaryrefslogtreecommitdiffstats
path: root/library
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2019-11-19 15:52:10 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2019-11-19 15:52:10 (GMT)
commit9971a2a45b94e84f02ff3f66e707986254ff08df (patch)
tree2b6c610dc600504f9e10d105b6f4b38d8bb76dd0 /library
parentb0c0fd5b5c9aa88e74e5a954d9f86423b434d606 (diff)
downloadtk-9971a2a45b94e84f02ff3f66e707986254ff08df.zip
tk-9971a2a45b94e84f02ff3f66e707986254ff08df.tar.gz
tk-9971a2a45b94e84f02ff3f66e707986254ff08df.tar.bz2
Specific test for xft in widget demo
Diffstat (limited to 'library')
-rw-r--r--library/demos/unicodeout.tcl2
1 files changed, 1 insertions, 1 deletions
diff --git a/library/demos/unicodeout.tcl b/library/demos/unicodeout.tcl
index f7dfc77..b3c5fd0 100644
--- a/library/demos/unicodeout.tcl
+++ b/library/demos/unicodeout.tcl
@@ -134,7 +134,7 @@ addSample $w Russian \
if {[package vsatisfies [package provide Tcl] 8.7-]} {
addSample $w Emoji \
"\U1F600\U1F4A9\U1F44D\U1F1F3\U1F1F1"
-} elseif {[tk windowingsystem] ne "x11"} {
+} elseif {([tk windowingsystem] ne "x11") || (![catch {tk::pkgconfig get fontsystem} fs] && ($fs eq "xft"))} {
addSample $w Emoji \
"\uD83D\uDE00\uD83D\uDCA9\uD83D\uDC4D\uD83C\uDDF3\uD83C\uDDF1"
}