Re: Using -Tpdf rather than -Tps and then ps2pdf

2023-06-13 Thread Damian McGuckin
On Tue, 13 Jun 2023, Deri wrote: Here's my 1.22.4 version with Tadziu's fix. The pdf shows the difference between using my SS font, using Tadziu's fix to pdf.tmac and using grops and the type 3 SS font. That solves my issues. Thanks Deri - Damian Pacific Engineering Systems International .

Re: Using -Tpdf rather than -Tps and then ps2pdf

2023-06-13 Thread G. Branden Robinson
At 2023-06-13T17:15:56-0500, G. Branden Robinson wrote: > See the attachments. Sigh. .sp .EQ f ( pi ) + 2 pi int sin ( omega t ) dt + e sup { i pi sup { rho + 1 } } .EN .sp .EQ f ( pi ) + 2 pi int sin ( omega t ) dt + e sup { i pi sup { rho + 1 } } .EN .br .ft I A\[*p]\[*r]\[*w]Z .sp A\s'16'\[*p]\

Re: Using -Tpdf rather than -Tps and then ps2pdf

2023-06-13 Thread G. Branden Robinson
Hi Tadziu! At 2023-06-13T17:11:50+0200, Tadziu Hoffmann wrote: > > I think the likeliest site to fix PDF output is the `pdf:SS` > > macro in pdf.tmac. > > You are right. > > This works: > > .de pdf:SS > .char \\$1 \s'n[.ps]u*89u/100u'\S'15'\\$1\S'0'\s'0' > .. > .pdf:SS \[*a] > .pd

Re: Using -Tpdf rather than -Tps and then ps2pdf

2023-06-13 Thread Deri
On Tuesday, 13 June 2023 21:46:59 BST Damian McGuckin wrote: > Could I impose and ask for a patch to the 1.22.4 .tmac file please? > > I would like to test that against my updated EQN User Guide. > > Thanks heaps - Damian Hi Damian, Here's my 1.22.4 version with Tadziu's fix. The pdf shows the

Re: Using -Tpdf rather than -Tps and then ps2pdf

2023-06-13 Thread Damian McGuckin
On Tue, 13 Jun 2023, Tadziu Hoffmann wrote: I think the likeliest site to fix PDF output is the `pdf:SS` macro in pdf.tmac. You are right. This works: .de pdf:SS .char \\$1 \s'n[.ps]u*89u/100u'\S'15'\\$1\S'0'\s'0' .. .pdf:SS \[*a] .pdf:SS \[*b] (etc.) Could I impose and ask for a

Re: Using -Tpdf rather than -Tps and then ps2pdf

2023-06-13 Thread Deri
On Tuesday, 13 June 2023 16:11:50 BST Tadziu Hoffmann wrote: > > I think the likeliest site to fix PDF output is the `pdf:SS` > > macro in pdf.tmac. > > You are right. > > This works: > > .de pdf:SS > .char \\$1 \s'n[.ps]u*89u/100u'\S'15'\\$1\S'0'\s'0' > .. > .pdf:SS \[*a] > .pdf:S

Re: Using -Tpdf rather than -Tps and then ps2pdf

2023-06-13 Thread Tadziu Hoffmann
> I think the likeliest site to fix PDF output is the `pdf:SS` > macro in pdf.tmac. You are right. This works: .de pdf:SS .char \\$1 \s'n[.ps]u*89u/100u'\S'15'\\$1\S'0'\s'0' .. .pdf:SS \[*a] .pdf:SS \[*b] (etc.)

Re: Using -Tpdf rather than -Tps and then ps2pdf

2023-06-12 Thread G. Branden Robinson
At 2023-06-13T02:48:47+0200, Tadziu Hoffmann wrote: > > > I tried two different methods of getting it to adjust the > > font height, and neither worked at all. > > For me, the following works: > > .fzoom S 890 > .EQ > i iota > .EN Huh. For me this works with ps but not pdf; in the latt

Re: Using -Tpdf rather than -Tps and then ps2pdf

2023-06-12 Thread Tadziu Hoffmann
> I tried two different methods of getting it to adjust the > font height, and neither worked at all. For me, the following works: .fzoom S 890 .EQ i iota .EN Unfortunately, this also scales the uppercase Greek letters and other mathematical symbols, which we don't want. In grops, we

Re: Using -Tpdf rather than -Tps and then ps2pdf

2023-06-12 Thread G. Branden Robinson
At 2023-06-13T10:05:33+1000, Damian McGuckin wrote: > Tadziu, Deri, thanks for looking into this where looking is the key > word. > > Tadziu, your eyes had an answer that my eyes could see but not > identify. pdf.tmac synthesizes the slanted Greek glyphs like this. https://git.savannah.gnu.org/c

Re: Using -Tpdf rather than -Tps and then ps2pdf

2023-06-12 Thread Damian McGuckin
Tadziu, Deri, thanks for looking into this where looking is the key word. Tadziu, your eyes had an answer that my eyes could see but not identify. On Tue, 13 Jun 2023, Deri wrote: Is this because the lowercase greek characters come from the SS font in postscript, which is not available to gr

Re: Using -Tpdf rather than -Tps and then ps2pdf

2023-06-12 Thread G. Branden Robinson
At 2023-06-12T23:45:36+0200, Tadziu Hoffmann wrote: > > But, the output direct to PDF from 'groff' does not match that of > > going to Postscript and then converting that to PDF using 'ps2pdf'. > > The main difference that I can see is that in p8ps.pdf the symbol > font has been scaled to match th

Re: Using -Tpdf rather than -Tps and then ps2pdf

2023-06-12 Thread Deri
On Monday, 12 June 2023 22:45:36 BST Tadziu Hoffmann wrote: > > But, the output direct to PDF from 'groff' does not match that of > > going to Postscript and then converting that to PDF using 'ps2pdf'. > > The main difference that I can see is that in p8ps.pdf the symbol > font has been scaled to

Re: Using -Tpdf rather than -Tps and then ps2pdf

2023-06-12 Thread Tadziu Hoffmann
> But, the output direct to PDF from 'groff' does not match that of > going to Postscript and then converting that to PDF using 'ps2pdf'. The main difference that I can see is that in p8ps.pdf the symbol font has been scaled to match the x-height of the text font. In p8pdf.pdf the Greek letters

Re: Using -Tpdf rather than -Tps and then ps2pdf

2023-06-12 Thread Oliver Corff
Hi Damian, You can use diffpdf to find out where the differences are. diffpdf has toggle switches for text only- vs. shape only-comparisons and produces visual highlights. Best regards, Oliver. On 12/06/2023 21:33, Damian McGuckin wrote: The issue could be as simple as a discrepancy between

Re: Using -Tpdf rather than -Tps and then ps2pdf

2023-06-12 Thread Damian McGuckin
The issue could be as simple as a discrepancy between the font definitions used between Postscript and PDF. But I do not know enough to debug the issues. The PDF rendering on the screen (or on paper)should match the Postscript rendering that comes out of a printer which is sent that same Po

Re: Using -Tpdf rather than -Tps and then ps2pdf

2023-06-12 Thread Damian McGuckin
Hi Oliver, On Mon, 12 Jun 2023, Oliver Corff wrote: isn't it the case that the paper format must also be announced to gropdf, not only the source document, in case the system default is letter? I am a total novice. Did you try the -p option with gropdf? No. I just used groff -

Re: Using -Tpdf rather than -Tps and then ps2pdf

2023-06-12 Thread Oliver Corff
Hi Damian, isn't it the case that the paper format must also be announced to gropdf, not only the source document, in case the system default is letter? Did you try the -p option with gropdf? Best regards, Oliver. On 12/06/2023 09:56, Damian McGuckin wrote: I have used ditroff and then gro