Import Tk 8.6.8
This commit is contained in:
@@ -825,7 +825,7 @@ Tk_PostscriptFont(
|
||||
fontname = Tcl_DStringValue(&ds);
|
||||
Tcl_AppendPrintfToObj(GetPostscriptBuffer(interp),
|
||||
"/%s findfont %d scalefont%s setfont\n",
|
||||
fontname, TkFontGetPoints(psInfoPtr->tkwin, points),
|
||||
fontname, (int)(TkFontGetPoints(psInfoPtr->tkwin, points) + 0.5),
|
||||
strncasecmp(fontname, "Symbol", 7) ? " ISOEncode" : "");
|
||||
Tcl_CreateHashEntry(&psInfoPtr->fontTable, Tcl_DStringValue(&ds), &i);
|
||||
Tcl_DStringFree(&ds);
|
||||
|
||||
Reference in New Issue
Block a user