On Tuesday 03 May 2005 08:21 am, SourceForge.net wrote:
> Bugs item #1194516, was opened at 2005-05-03 17:21
> https://sourceforge.net/tracker/?func=detail&atid=102055&aid=1194516&group_id=2055
> Submitted By: Juergen Wieferink (wieferink)
> Summary: [postscript] default font override
>
> Initial Comment:
> Using the following short script with current CVS version:
>
> set term post landscape enhanced
> set output "sin4.ps"
> set grid
> set logscale y
> set xtics ("{/Symbol p}/4" pi/4., "{/Symbol p}/2" pi/2., "3{/Symbol p}/4" 3.*pi/4., "{/Symbol p}" pi)
> plot [0:pi] [0.1:1000] 1./sin(x/2.)**4
>
> I get a postscript file where the key is typeset in Symbol font.
This is an example of a more general bug that I have not yet been
able squelch in a satisfactory manner. In enhanced mode, the first
font output to the device in a plot sometimes gets "stuck" as the
default font. Usually this is whatever font is used for the plot title.
But in your example there is no title, so the first font used is for
the tics.
Trivial work-around:
set title " " # Single space force invocation of default font
Fix:
I don't know. I haven't pinned down exactly when/why this occurs.
There is not *supposed* to be any difference in the PostScript
enhanced text processing between version 3.7 and 4.0/4.1
Obviously some difference has crept in. The bug crops up in other
terminal drivers also; it's not just PostScript.
--
Ethan A Merritt merritt@u.washington.edu
Biomolecular Structure Center
Mailstop 357742
University of Washington, Seattle, WA 98195
|