|
From: Juergen W. <wie...@fr...> - 2005-05-03 17:24:45
|
On Tuesday 03 May 2005 18:13, Ethan Merritt wrote: > 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. The title is not the first text output in the postscript file in this case. > > 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. I looked into the postscript output file and played with the switches. The problem only occurs if "Blacktext" is false. It seems the gsave-grestore pair is missing in this case. And ENHPS_put_text does not explicitly set the font. The attached patch fixes this at least for the postscript terminal. There might be a deeper problem behind this, though ... Juergen |