|
From: Ethan M. <merritt@u.washington.edu> - 2005-05-05 17:32:44
|
On Thursday 05 May 2005 08:20 am, Hans-Bernhard Broeker wrote:
> Juergen Wieferink wrote:
>
> > I looked into the postscript output file and played with the
> > switches. The problem only occurs if "Blacktext" is false.
>
> I think that's a red herring.
Yes.
> Apparently current terminal font selection tracking got broken when
> enhanced text processing was ripped out of post.trm.
I am not so sure. For one thing I did extensive line-by-line comparisons
of the PostScript output before and after moving the code from post.term
into term.c. They were line-for-line identical for all demos in the test
suite and for all the convoluted enhanced text tests I could think of.
I could have missed something, but...
The version 3.7 output file from the current problem case *also* doesn't
restore the font after each tic label. I am uncertain, but
the bug appears to be related specifically to the key title processing.
Consider the following pair of plots run through either version 4.0
the current cvs version:
set term post enhanced color colortext
#
set noxtics
set noytics
set xlabel "{/Symbol Xlabel}"
set ylabel "Ylabel"
#
set output "autotitle.ps"
plot x
#
set output "noautotitle.ps"
plot x title "x"
The first plot shows the bug.
The second one does not.
The only relevant difference between the two output files
is the failure of the autotitled plot to set a font.
diff -ur autotitle.ps noautotitle.ps
--- autotitle.ps 2005-05-05 10:08:58.172952608 -0700
+++ notitle.ps 2005-05-05 10:09:43.490063360 -0700
@@ -339,7 +339,8 @@
LT0
LTb
6311 4739 M
-(x) Rshow
+[ [(Helvetica) 140.0 0.0 true true 0 (x)]
+] -46.7 MRshow
LT0
6395 4739 M
399 0 V
--
Ethan A Merritt merritt@u.washington.edu
Biomolecular Structure Center
Mailstop 357742
University of Washington, Seattle, WA 98195
|