diff options
author | dkf <donal.k.fellows@manchester.ac.uk> | 2008-12-22 01:43:39 (GMT) |
---|---|---|
committer | dkf <donal.k.fellows@manchester.ac.uk> | 2008-12-22 01:43:39 (GMT) |
commit | 7f39b609d08b209df79a93155dda9a78f33096cd (patch) | |
tree | 5556bc838f980329b80cb4180b2dd405457c8c62 /generic | |
parent | 66e293b3ecc1bc3b72bb152c7e93a5380cd96d38 (diff) | |
download | tk-7f39b609d08b209df79a93155dda9a78f33096cd.zip tk-7f39b609d08b209df79a93155dda9a78f33096cd.tar.gz tk-7f39b609d08b209df79a93155dda9a78f33096cd.tar.bz2 |
Backport of fix for [Bug 2107938].
Diffstat (limited to 'generic')
-rw-r--r-- | generic/tkCanvPs.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/generic/tkCanvPs.c b/generic/tkCanvPs.c index d8d60a5..079b38b 100644 --- a/generic/tkCanvPs.c +++ b/generic/tkCanvPs.c @@ -11,7 +11,7 @@ * See the file "license.terms" for information on usage and redistribution of * this file, and for a DISCLAIMER OF ALL WARRANTIES. * - * RCS: @(#) $Id: tkCanvPs.c,v 1.19 2007/12/13 15:24:13 dgp Exp $ + * RCS: @(#) $Id: tkCanvPs.c,v 1.19.2.1 2008/12/22 01:43:39 dkf Exp $ */ #include "tkInt.h" @@ -755,7 +755,7 @@ Tk_PostscriptFont( Tcl_DStringInit(&ds); points = Tk_PostscriptFontName(tkfont, &ds); - sprintf(pointString, "%d", points); + sprintf(pointString, "%d", TkFontGetPoints(psInfoPtr->tkwin, points)); Tcl_AppendResult(interp, "/", Tcl_DStringValue(&ds), " findfont ", pointString, " scalefont ", NULL); if (strncasecmp(Tcl_DStringValue(&ds), "Symbol", 7) != 0) { |