|
From: Helmut H. <he...@ha...> - 2020-12-04 19:59:05
|
Hi, Alex,
Sorry for not responding earlier. The fontscale used is the same on both
machines so that's not an issue. Anyway, thank you very much for your
suggestion of using system("hostname"). This does indeed work nicely and
provides an excellent workaround for this annoying issue. It still
doesn't explain, though, why it is there at all. Puzzling.
Thanks again,
--Helmut
PS: This not only happens with the pdf terminal (which I understand
shouldn't be used anymore), but also with pdfcairo.
On 10/26/2020 3:55 AM, Alexander Stangl wrote:
> 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 <he...@ha...
> <mailto:he...@ha...>> 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
> gnu...@li...
> <mailto:gnu...@li...>
> Membership management via:
> https://lists.sourceforge.net/lists/listinfo/gnuplot-info
> <https://lists.sourceforge.net/lists/listinfo/gnuplot-info>
>
|