|
From: Ethan M. <merritt@u.washington.edu> - 2010-02-07 22:04:13
|
On Sunday 07 February 2010, Benjamin Lindner wrote:
> Ethan Merritt wrote:
> > On Sunday 07 February 2010, Benjamin Lindner wrote:
> >> Hello,
> >>
> >> Working on the copy-to-clipboard-as-emf issue I stumbled over the
> >> bug that the windows terminal obviously ignores the font name and size
> >> specified for labels and instead uses the default terminal's font
> >> and size.
> >
> > Huh. Does the "enhancedtext.dem" demo not work under [real] Windows?
> > It works from the Windows terminal when run under linux+wine.
>
> Yes it works, but none of the demos contain a "set label" with explicit
> fontname/size. *this* does not work.
Ah. I misunderstood.
I thought you were talking about the enhanced text constructs, as in
set label 11 "{/Symbol=18 \362@_{/=9.6 0}^{/=12 ^\245}} {e^{-{/Symbol m}^2/2} d}"
where both the font and the size are correctly selected.
> >> To reproduce:
> >>
> >> set term windows enhanced font "arial,9"
> >> set label 1 "e^{i{/symbol p}}=-1" at graph 0.5,0.5 font "courier,15"
> >> plot sin(x) with linespoints
> >
> > Works properly under linux+wine using wgnuplot from Oct 2009.
> > Could it be a font path problem?
>
> Ah, there is one catch: it should read "courier new,15".
> But then it still only works with the patch applied,
> with the 4.4.0-rc1 binaries, it does neither change the font name nor
> the font size.
OK.
Petr:
Are you collecting the patches from Benjamin Lindner and
Tatsuro Matsuoka for application to 4.4?
Ethan
|