lout-users
[Top][All Lists]
Advanced

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

Re: Adding a new font


From: Noé
Subject: Re: Adding a new font
Date: Thu, 28 May 2020 19:56:28 +0200

Thanks for the quick response!
Now I understand a bit better how Lout works with fonts.

I put my font in the adobe acrobat reader folder (I like to output PDF files) and now it works!

You talked about embedding the font in a postscript document with includeres, is there an equivalent with pdf?

-Noé

Le jeu. 28 mai 2020 à 16:51, Valery Ushakov <uwe@stderr.spb.ru> a écrit :
On Thu, May 28, 2020 at 16:41:37 +0200, Noe wrote:

> I want to add a new font to Lout but I don't really know where to put the
> files.
>
> So far I added a @FontDef in fontdefs.ld, I moved the .afm file of my font
> in the "fonts" folder and I created the corresponding .LCM file in "maps".
>
> But I don't know where to put the font itself, I tried to install it in
> Windows fonts file but when I use the new font in my document, the output
> is in the base Font.
>
> Am I doing something wrong?

Lout doesn't need the font itself, only the metrics.  The font itself
is needed by the program that will render the lout's postscript
output.  E.g. if you use ghostscript, you need to make the font
available to the ghostscript.  If it's a postscript printer, you need
to make the font available to the printer by embedding it in the
postscript document you send (e.g. includeres from psutils).

-uwe


reply via email to

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