Re: Different font size rendering on different machines with pdf terminal

Alexander Stangl <[email protected]>
Newsgroups gmane.comp.graphics.gnuplot.user
Message-ID <CAEEUwSMjZQqpTzQGViHn7jtzZhFqSuexwZAqbjCjFrJJPBsS7Q@mail.gmail.com>
Hey,

there might be also the fontscale parameter. But not sure why this should
be different on different machines (if you use the same initialisation)
A work around could be to read out the computer name and depending on this
you set the terminal automatically to font size 6 or 12,
e.g.:
if(system("hostname") eq "PC1") { font = 12}
else { font = 6}
set terminal pdf font "Times-New-Roman,".font

Best,
Alex

On Sat, 17 Oct 2020 at 17:11, Helmut Haberzettl <[email protected]>
wrote:

> Hi,
>
> I use gnuplot 5.2 (patchlevel 8) on various machines running Windows 10
> Pro.
>
> When creating plots using the pdf terminal, the font sizes come out
> differently on different machines. Specifically, while
> set terminal pdf font "Times-New-Roman,12"
> works as expected on one machine, I need to use
> set terminal pdf font "Times-New-Roman,6"
> on another machine to produce approximately (but not identically) the
> same output on another machine. The plot files are identical otherwise.
>
> Are there some additional settings I'm unaware of that prevent this from
> happening? This is quite annoying because I frequently work on the same
> gnuplot file switching between machines (desktop, laptop) and any help
> in this regard would be greatly appreciated.
>
> Thank you,
> --Helmut Haberzettl
>
>
> _______________________________________________
> gnuplot-info mailing list
> [email protected]
> Membership management via:
> https://lists.sourceforge.net/lists/listinfo/gnuplot-info
>

_______________________________________________
gnuplot-info mailing list
[email protected]
Membership management via: https://lists.sourceforge.net/lists/listinfo/gnuplot-info
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.