summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorfvogel <fvogelnew1@free.fr>2017-01-28 17:37:29 (GMT)
committerfvogel <fvogelnew1@free.fr>2017-01-28 17:37:29 (GMT)
commitd033d601736ea26760f95cc30695c80d4d19bafe (patch)
tree31c08f240f8664f3eeeedc38093538864131d8c1
parentcc1dd14693b02bd80d03b172e53f6ea747af914b (diff)
downloadtk-d033d601736ea26760f95cc30695c80d4d19bafe.zip
tk-d033d601736ea26760f95cc30695c80d4d19bafe.tar.gz
tk-d033d601736ea26760f95cc30695c80d4d19bafe.tar.bz2
Fixed [c0dbdd3ff3]: Tk Compatibility Fonts block access to system fonts
-rw-r--r--win/tkWinFont.c16
1 files changed, 0 insertions, 16 deletions
diff --git a/win/tkWinFont.c b/win/tkWinFont.c
index 9a32227..c01dc3f 100644
--- a/win/tkWinFont.c
+++ b/win/tkWinFont.c
@@ -2528,22 +2528,6 @@ FamilyExists(
int result;
Tcl_DString faceString;
- /*
- * Just immediately rule out the following fonts, because they look so
- * ugly on windows. The caller's fallback mechanism will cause the
- * corresponding appropriate TrueType fonts to be selected.
- */
-
- if (strcasecmp(faceName, "Courier") == 0) {
- return 0;
- }
- if (strcasecmp(faceName, "Times") == 0) {
- return 0;
- }
- if (strcasecmp(faceName, "Helvetica") == 0) {
- return 0;
- }
-
Tcl_UtfToExternalDString(systemEncoding, faceName, -1, &faceString);
/*