lout-users
[Top][All Lists]
Advanced

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

Re: problems installing fonts...


From: Valeriy E. Ushakov
Subject: Re: problems installing fonts...
Date: Mon, 25 May 1998 22:01:20 +0400

On Mon, May 25, 1998 at 09:31:36PM +0400, Anders Moe wrote:

> To: address@hidden
> X-Diagnostic: Already on the subscriber list
> X-Diagnostic: 197 (null)                             32768 
> X-Envelope-To: lout-request

Please, submit your postings to <address@hidden>.

I can see people often post to address@hidden - please, don't use
that old address.  It still works but you might be surprised the other
day.  Please, please, please - update your mail aliases.

> 5) Giving
> 
> { <fontname> Base <size> } @Font { hello world }
> 
> generates no errors, but the result will always be displayed in
> Times Roman....Could somebody tell me what I am doing wrong ?

Do you put the pfb (or pfa) file - the font itself - where your
postscript viewer can find it?  E.g. for GhostScript you'll have to
edit the Fontmap file in the GhostScript directory and put the pfb to
the fonts subdirectory.

> Also, if I get this to work, will I still be hampered by the lack of fonts
> on the printer here at the university ? Is there any way to make a
> printing device print a certain font that may be installed on a hard disk
> but not on the ROM of the printer ?

Use `includeres' that comes with PSUtils.  Check

    ftp://ftp.dcs.ed.ac.uk/pub/ajcd/


Lout produces

    %%IncludeResource: font Blah

DSC comments for all fonts it uses.  `includeres' will insert the font
into appropriate place in the lout postscript output.  You will have
to put a pfa font file (I usually just put a symlink there) in the
psutils directory.

Also, beware, that if the font is not used on the first page of your
document - Lout will generate an %%IncludeResource for this font on
every page the font is used.  This can make you postscript job *very*
big (~100k of font definition for every page).  If this not what you
want - use a simple sed or perl script that will move
%%IncludeResource comments into the document setup.

Hope it helps.

SY, Uwe
-- 
address@hidden                         |       Zu Grunde kommen
http://www.ptc.spbu.ru/~uwe/            |       Ist zu Grunde gehen


reply via email to

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