Re: Adding a new font
NoƩ <[email protected]> Thu, 28 May 2020 19:56:28 +0200
| Newsgroups | gmane.comp.type-setting.lout |
|---|---|
| Message-ID | <CAJHxqmK17D=hEcX9kT8L_8AOZC5Hczf0_oa9oVAsnfSEvN_Kgw@mail.gmail.com> |
--000000000000367f3f05a6b90d8e Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable 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=C3=A9 Le jeu. 28 mai 2020 =C3=A0 16:51, Valery Ushakov <[email protected]> a =C3= =A9crit : > 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 t= he > > 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 outp= ut > > 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 > > --000000000000367f3f05a6b90d8e Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable <div dir=3D"auto">Thanks for the quick response!<div dir=3D"auto">Now I und= erstand a bit better how Lout works with fonts.</div><div dir=3D"auto"><br>= </div><div dir=3D"auto">I put my font in the adobe acrobat reader folder (I= like to output PDF files) and now it works!</div><div dir=3D"auto"><br></d= iv><div dir=3D"auto">You talked about embedding the font in a postscript do= cument with includeres, is there an equivalent with pdf?</div><div dir=3D"a= uto"><br></div><div dir=3D"auto">-No=C3=A9</div></div><br><div class=3D"gma= il_quote"><div dir=3D"ltr" class=3D"gmail_attr">Le jeu. 28 mai 2020 =C3=A0 = 16:51, Valery Ushakov <<a href=3D"mailto:[email protected]">[email protected]= pb.ru</a>> a =C3=A9crit=C2=A0:<br></div><blockquote class=3D"gmail_quote= " style=3D"margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">O= n Thu, May 28, 2020 at 16:41:37 +0200, Noe wrote:<br> <br> > I want to add a new font to Lout but I don't really know where to = put the<br> > files.<br> > <br> > So far I added a @FontDef in fontdefs.ld, I moved the .afm file of my = font<br> > in the "fonts" folder and I created the corresponding .LCM f= ile in "maps".<br> > <br> > But I don't know where to put the font itself, I tried to install = it in<br> > Windows fonts file but when I use the new font in my document, the out= put<br> > is in the base Font.<br> > <br> > Am I doing something wrong?<br> <br> Lout doesn't need the font itself, only the metrics.=C2=A0 The font its= elf<br> is needed by the program that will render the lout's postscript<br> output.=C2=A0 E.g. if you use ghostscript, you need to make the font<br> available to the ghostscript.=C2=A0 If it's a postscript printer, you n= eed<br> to make the font available to the printer by embedding it in the<br> postscript document you send (e.g. includeres from psutils).<br> <br> -uwe<br> <br> </blockquote></div> --000000000000367f3f05a6b90d8e--