help-texinfo
[Top][All Lists]
Advanced

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

Re: [help-texinfo] how to use letter LetterGothic as tt font in texinfo


From: Gavin Smith
Subject: Re: [help-texinfo] how to use letter LetterGothic as tt font in texinfo
Date: Tue, 16 Jul 2019 18:13:42 +0100
User-agent: Mutt/1.6.1 (2016-04-27)

On Tue, Jul 16, 2019 at 05:11:56PM +0800, Jinsong Zhao wrote:
> On 2019/7/16 15:51, Jinsong Zhao wrote:
> > Hi there,
> > 
> > I try to use LetterGothic from URW as the default tt font in texinfo. It
> > almost works, except for the single quote (quoteright?) in @code{'}. The
> > symbol is missing in the output pdf file. The log file said that:
> > 
> > Missing character: There is no
> >   in font ulgb8r!
> > 
> > The font is installed from
> > https://www.ctan.org/tex-archive/fonts/urw/lettergothic/
> > 
> > The setting for the font in texinfo is:
> > \font\texttt=ulgb8r at 10pt %Letter Gothic-Bold
> > \font\textttsl=ulgbi8r at 10pt %Letter Gothic-BoldItalic
> > 
> > Is it possible to use this font in texinfo?
> > 
> > Any suggestion is really appreciated.
> > 
> > Best,
> > Jinsong
> > 
> 
> It seems that the problem caused by
> 
> @codequoteundirected on
> 
> if it set to off, the quoteright could be displayed.

I think I have been able to install the font using a mixture of the 
instructions at your link and at https://www.tug.org/fonts/fontinstall.html,
but I don't see how to get the output in the font.  I tried

\input texinfo

X@code{aaaa 'bbbbbb}X

@tex
\globaldefs=1
\font\texttt=ulgb8r at 10pt %Letter Gothic-Bold
\font\textttsl=ulgbi8r at 10pt %Letter Gothic-BoldItalic
@end tex


X@code{aaaa 'bbbbbb}X

@bye

but both lines are in the same font.  I managed to get a display of the 
font using "pdfetex testfont".  See attached file.  The straight 
apostrophe seems to be located at position '037, it's just a question of 
how to get it.

Attachment: testfont.pdf
Description: Adobe PDF document


reply via email to

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