summaryrefslogtreecommitdiffstats
path: root/library/mkpsenc.tcl
diff options
context:
space:
mode:
authordkf <donal.k.fellows@manchester.ac.uk>2009-05-01 15:21:02 (GMT)
committerdkf <donal.k.fellows@manchester.ac.uk>2009-05-01 15:21:02 (GMT)
commit69786ddd98674579b43629a5713b9be46f3631bb (patch)
treee49ce71dc424d8cdb632d63a88493cb03bd216ae /library/mkpsenc.tcl
parentd35af35dade0c0d3265755d44a4333b7dcf6e348 (diff)
downloadtk-69786ddd98674579b43629a5713b9be46f3631bb.zip
tk-69786ddd98674579b43629a5713b9be46f3631bb.tar.gz
tk-69786ddd98674579b43629a5713b9be46f3631bb.tar.bz2
Fix [Bug 2777019].
Diffstat (limited to 'library/mkpsenc.tcl')
-rw-r--r--library/mkpsenc.tcl4
1 files changed, 2 insertions, 2 deletions
diff --git a/library/mkpsenc.tcl b/library/mkpsenc.tcl
index dea846b..07c5217 100644
--- a/library/mkpsenc.tcl
+++ b/library/mkpsenc.tcl
@@ -1121,7 +1121,7 @@ namespace eval ::tk {
%%BeginProlog
% This is a standard prolog for Postscript generated by Tk's canvas
% widget.
- % RCS: @(#) $Id: mkpsenc.tcl,v 1.5 2009/05/01 15:03:17 dkf Exp $
+ % RCS: @(#) $Id: mkpsenc.tcl,v 1.6 2009/05/01 15:21:02 dkf Exp $
}
ps_literal [CreatePostscriptEncoding [encoding system]]
ps_literal {50 dict begin}
@@ -1310,9 +1310,9 @@ namespace eval ::tk {
% upper-left corner of the text's bounding box. Remember that angle
% for rotating, and x and y for positioning are still on the stack.
translate
+ rotate
lineLength xoffset mul
strings length 1 sub spacing mul height add yoffset mul translate
- rotate
% Now use the baseline and justification information to translate so
% that the origin is at the baseline and positioning point for the
% first line of text.