diff options
author | joye <joye> | 2014-06-10 18:56:16 (GMT) |
---|---|---|
committer | joye <joye> | 2014-06-10 18:56:16 (GMT) |
commit | 45191e7c465535d37bc50a36d4acb9482a09f59c (patch) | |
tree | dee68cf9d385381468a8719475eee5755d912d93 | |
parent | 53fb30583d98af5691e8581fcf33fc3b8fadf923 (diff) | |
download | blt-45191e7c465535d37bc50a36d4acb9482a09f59c.zip blt-45191e7c465535d37bc50a36d4acb9482a09f59c.tar.gz blt-45191e7c465535d37bc50a36d4acb9482a09f59c.tar.bz2 |
*** empty log message ***
-rw-r--r-- | src/bltGrPSOutput.C | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/src/bltGrPSOutput.C b/src/bltGrPSOutput.C index 9e8da53..948ee35 100644 --- a/src/bltGrPSOutput.C +++ b/src/bltGrPSOutput.C @@ -872,8 +872,15 @@ void PostScript::prolog() " % stack.\n" " translate\n" " neg rotate\n" -" 0 0 moveto\n" +" lineLength xoffset mul\n" +" strings length 1 sub spacing mul height add yoffset mul translate\n" +" % Now use the baseline and justification information to translate\n" +" % so that the origin is at the baseline and positioning point for\n" +" % the first line of text.\n" +" justify lineLength mul baseline neg translate\n" " strings {\n" +" dup cstringwidth pop\n" +" justify neg mul 0 moveto\n" " {\n" " gsave\n" " 1 -1 scale\n" |