groff
[Top][All Lists]
Advanced

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

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


From: G. Branden Robinson
Subject: Re: Using -Tpdf rather than -Tps and then ps2pdf
Date: Mon, 12 Jun 2023 19:22:43 -0500

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/cgit/groff.git/tree/tmac/pdf.tmac?h=1.23.0.rc4#n38

I tried two different methods of getting it to adjust the font height,
and neither worked at all.  They were total no-ops.

.nf
abc\[*p]\[*w]\[*r]def
.
.de pdf:SS
.  fzoom \\n[.fn] 890
.  fchar \\$1 \S'16'\\$1\S'0'
.  fzoom \\n[.fn]
..
.pdf:SS \[*p]
.pdf:SS \[*r]
.pdf:SS \[*w]
abc\[*p]\[*w]\[*r]def

.nf
abc\[*p]\[*w]\[*r]def
.
.de pdf:SS
.  nr pdf:size \\n[.psr]
.  nr pdf:adjusted-size (\\n[pdf:size] * 0.89u)
.  fchar \\$1 \H'\\n[pdf:adjusted-size]'\S'16'\\$1\H'\\n[pdf:size]'\S'0'
..
.pdf:SS \[*p]
.pdf:SS \[*r]
.pdf:SS \[*w]
abc\[*p]\[*w]\[*r]def

Anyone have ideas why these failed?

Regards,
Branden

Attachment: signature.asc
Description: PGP signature


reply via email to

[Prev in Thread] Current Thread [Next in Thread]