Re: PDF reader for Groff output

2022-07-11 Thread Deri
On Monday, 11 July 2022 09:15:07 BST Damian McGuckin wrote: > I think the issue is that the more recent packages have the Type 1 font > as a t1. Hi Damian, The .t1 files are in fact postscript binary fonts, just not named .pfb. The naming does not matter and when groff is built it will look for

Re: PDF reader for Groff output

2022-07-11 Thread G. Branden Robinson
Hi Damian, At 2022-07-11T18:15:07+1000, Damian McGuckin wrote: > I think the issue is that the more recent packages have the Type 1 > font as a t1. I'm not convinced that the file extension is the problem, but it does seem like the CentOS distribution you're using is following Adobe's lead in dep

Re: PDF reader for Groff output

2022-07-11 Thread Damian McGuckin
I think the issue is that the more recent packages have the Type 1 font as a t1. Rather than screwing around with legacy packages, what is the best way to go from t1 to pfb please because certainly groff wants .pfb. The question then, is where should we put them, not only for 'groff' but als

Re: PDF reader for Groff output

2022-07-10 Thread Damian McGuckin
It seems there is a package urw-base35-fonts-legacy which installs the files in question in /usr/share/X11/fonts/urw-fonts I will try and install them, symbolically /usr/share/fonts/default/Type1 to that directory and go through the whole exercise again. It would b

Re: PDF reader for Groff output

2022-07-10 Thread Damian McGuckin
I grabbed the fonts from CentOS 7.6 in /usr/share/fonts/default/Type1 and copied them onto my CentOS 7.9 system. I then reran 'configure' in 1.22.4 with --with-urw-fonts-dir=/usr/share/fonts/default/Type1 as an argument, and reinstalled things. I recreated the file

Re: PDF reader for Groff output

2022-07-09 Thread Damian McGuckin
Hi Deri, On Sat, 9 Jul 2022, Deri wrote: Looking at your bad-sqrt.pdf you can see that ghostscript has embedded the two Times-Roman fonts, but not the symbol font. This means that whichever viewer you use needs to find a useable symbol font itself, since it is not embedded. That is my und

Re: PDF reader for Groff output

2022-07-09 Thread Damian McGuckin
On Sat, 9 Jul 2022, G. Branden Robinson wrote: I used to use Evince exclusively, but in bullseye it has a serious defect where the sidebar is no longer resizable, so I tend to use Okular these days. Eons ago, I used Okular. Then, with the move to CentOS over a Decade ago, moved to 'evince'.

Re: PDF reader for Groff output

2022-07-09 Thread Damian McGuckin
Hi Branden, On Sat, 9 Jul 2022, G. Branden Robinson wrote: The source code is: .ps 12 .vs 14 .nf .EQ p ~ = ~ q times sqrt { ( 1 + ~ (x / (q * q) ) } .EN The output on Windows with Acrobat had a long tail to the square root sign over the top of the whole expression. It appears from the pag

Re: PDF reader for Groff output

2022-07-09 Thread G. Branden Robinson
Hi Damian, At 2022-07-09T16:43:06+1000, Damian McGuckin wrote: > The source code is: > > .ps 12 > .vs 14 > .nf > .EQ > p ~ = ~ q times sqrt { ( 1 + ~ (x / (q * q) ) } > .EN > > The output on Windows with Acrobat had a long tail to the square root > sign over the top of the whole expression. It

Re: PDF reader for Groff output

2022-07-08 Thread Damian McGuckin
The source code is: .ps 12 .vs 14 .nf .EQ p ~ = ~ q times sqrt { ( 1 + ~ (x / (q * q) ) } .EN The output on Windows with Acrobat had a long tail to the square root sign over the top of the whole expression. Okular has just a simple square root sign on the left of the expression, i.e. no enc

PDF reader for Groff output

2022-07-08 Thread Damian McGuckin
I recently upgraded to CentoS 7.9. Sadly, Ghostscript no longer renders to an X11 screen. I use Groff 1.22.4, standard configure. I have a PDF file while displays nicely using Acrobat reader on Windows but does not render properly wioth 'evince' 3.28.2, for example the tiny PDF file attach