From d033d601736ea26760f95cc30695c80d4d19bafe Mon Sep 17 00:00:00 2001 From: fvogel Date: Sat, 28 Jan 2017 17:37:29 +0000 Subject: Fixed [c0dbdd3ff3]: Tk Compatibility Fonts block access to system fonts --- win/tkWinFont.c | 16 ---------------- 1 file changed, 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); /* -- cgit v0.12