Re: eqn sqrt and pdf?

2020-02-24 Thread Werner LEMBERG
> After producing the file with -P-e and -Tpdf, if you wish to reduce > the size of the pdf, use ps2pdf to process the pdf again, this will > subset the fonts. An alternative to that which compresses even better might be the `pdfsizeopt` script. https://github.com/pts/pdfsizeopt Werner

Re: eqn sqrt and pdf?

2020-02-24 Thread Ralph Corderoy
Hi Piotr, > Now the question, what if we compile with pdfroff ...? It does not > support -e option and does not embed Symbol into PDF. Since pdfroff is > devps-based and internally must be using the ps2pdf It uses GhostScript's gs(1) to do ps2pdf(1)'s task, yes. $ grep -nw gs /usr/bin/pdfro

Re: eqn sqrt and pdf?

2020-02-24 Thread Ralph Corderoy
Hi Marc, > fc-match -f '%{file}\n' Symbol > /usr/share/fonts/truetype/openoffice/opens___.ttf What distro and version is this, e.g. Ubuntu 18.04. Is groff from that distro, or something you've built? > locate symbol.ttf > /usr/share/wine/fonts/symbol.ttf Note, the Symbol font

Re: eqn sqrt and pdf?

2020-02-24 Thread Piotr Piatrou
Ranph, I confirm: in Ubuntu 18.04 and 16.04 the path to Symbol font in /devpdf/download is wrong. The path fix indeed results in embedding all fonts in case of compilation as groff -Tpdf -P-e ... Now the question, what if we compile with pdfroff ...? It does not support -e option and does not

Re: eqn sqrt and pdf?

2020-02-24 Thread Deri
On Monday, 24 February 2020 14:21:26 GMT Marc Chantreux wrote: > hello, > > > The symbol font is one of the base type 1 fonts which all pdf viewers > > should support, so the font is not actually embedded in the pdf. You > > could try adding "- P-e" to the groff command. > > Even if Tadziu told u

Re: eqn sqrt and pdf?

2020-02-24 Thread Ralph Corderoy
Hi Piotr, > A potential problem with GROFF/ghostscript is that it DOES NOT embed > the Symbol font even with the -P-e option. I wish the developers could > check this. groff 1.22.4-1 on Arch Linux. I tried -e and found groff could no longer find the Symbol font to embed. Investigation showed th

Re: eqn sqrt and pdf?

2020-02-24 Thread Piotr Piatrou
People, I have the same problem after having upgraded to Ubuntu 18.04. This is entirely the viewer's issue: Evince, Zathura somehow lost the Symbol font, whereas Mupdf and gv still show everything correctly. So my solution was to switch from the standard Evince to Mupdf. A potential problem wi

Re: eqn sqrt and pdf?

2020-02-24 Thread Marc Chantreux
hello, > The symbol font is one of the base type 1 fonts which all pdf viewers should > support, so the font is not actually embedded in the pdf. You could try > adding "- > P-e" to the groff command. Even if Tadziu told us this is the current recommendation (embed everything), i really can't su

Re: eqn sqrt and pdf?

2020-02-24 Thread Marc Chantreux
> They both probably use a central font service. On this Arch Linux > machine, I get > > $ fc-match -f '%{file}\n' Symbol fc-match -f '%{file}\n' Symbol /usr/share/fonts/truetype/openoffice/opens___.ttf dpkg -S /usr/share/fonts/truetype/openoffice/opens___.ttf fonts-opensymbol: