groff
[Top][All Lists]
Advanced

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

Re: Not predefined Extended Latin character needed, interesting solution


From: Deri
Subject: Re: Not predefined Extended Latin character needed, interesting solution found
Date: Mon, 17 May 2021 18:24:13 +0100

On Monday, 17 May 2021 17:58:26 BST Oliver Corff wrote:
> Hi Deri,
> 
> On 17/05/2021 17:00, Deri wrote:
> > printf '.ft U-TR\n\xc4\x8cSSR' | groff -kT pdf | okular -
> 
> on my installation (groff 1.22.4) there is no U-TR font out of the box,
> and thus I only get these two warnings:
> 
> troff: <standard input>:1: warning: can't find font 'U-TR'
> troff: <standard input>:2: warning: can't find special character
> 'u0043_030C'
> 
> Is it possible to copy TR to U-TR and add the needed characters?
> 
> Best,
> 
> Oliver.

Hi Oliver,

The U- family of fonts are created when groff is built IF it can find the URW 
fonts in specific 
places on the system (there is also a way to tell configure to find them 
yourself). If you compile 
your groff from source just make sure you have installed the URW fonts before 
running the 
configure command and make sure it reports the URW fonts have been found. If 
you are using a 
packaged version of groff where it has been decided not to use these 
alternative fonts you could 
use Peter Schaffter's script to install new fonts which do contain this glyph.

His site says:-

"A bash script to make the entire process of installing fonts a painless 
no-brainer has been 
posted online at http://www.schaffter.ca/mom/install-font . Be sure to make the 
script 
executable ( chmod 755 install-font ) after you download it, then type 
./install-font -H for 
usage."

Cheers 

Deri




reply via email to

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