Re: [Suggestion -perfbook] Abandon font embedding by gnuplot

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Fri, 3 Sep 2021 17:45:13 +0900, Akira Yokosawa wrote:
> Hi Paul,
> 
> When I tried to run gnuplot under formal/data/ on a smallish Fedora
> container image to test the update of Figure 12.10, it failed with

                                        (typo) 12.4

> the error of:
> 
>     sh: line 1: pfbtops: command not found
>              line 0: Command 'pfbtops /usr/share/texlive/texmf-dist/fonts/
> .../uhvr8a.pfb' genereted error, exitcode is 32512
> 
> It turned out that I needed to install groff.  And gnuplot ran happily.
> 
> While I looked formal/data/plot.sh, if I removed the options:
> 
>     enhanced "NimbusSanL-Regu" fontfile "${font}"
> 
> in the first line of gnuplot instructions, gnuplot ran fine without
> groff installed.
> 
> I think the fontfile option is for embedding font data into .eps
> files.
> 
> Now we are doing .eps -> .pdf conversion via a2ping (or ghostscript),
> so I don't think font embedding is necessary.
> 
> Furthermore, gnuplot's default of Helvetica font is overridden on-the-fly
> by fixfonts.sh and its friends.
> 
> So there is no concern of embedding Helvetica font in the generated
> pdf figures.
> 
> In the test on my side, generated pdf figures have the same font
> properties regardless of the fontfile option.
> 
> So I'd like to ask you if it is ok to remove those fontfile options
> in the plot scripts under CodeSamples/.
> Removing them will reduce .eps file size and hopefully might reduce
> time of (the lots of) .eps -> .pdf conversions.
> 
> Side note: plot.sh under formal/data should be moved under
> CodeSamples/formal/ for the sake of consistency, I suppose.
> 
>         Thanks, Akira
> 



[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Linux NFS]     [Linux NILFS]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux