[abcusers] Adding PostScript fonts?

2003-02-14 Thread Forgeot Eric
oups, it seems I forget to post this one after typing it...

If you're using ghostscript... 
you put in /fonts/ your new fonts
(ex : Hansagotisch.pfb, maybe there are also other definitions, I
can't remember, such as Hansagotisch.afm, Hansagotisch.inf
Hansagotisch.pfm but they're probably not all necessary)

then, in /lib/ you edit Fontmap.GS such :

in section % Actual fonts

you add :

/HansaGotisch   (Hansagotisch.pfb)  ;
/AlteSchwabacher(AlteSchwabacher.pfb)   ;
/AlteSchwabacherDemi(AlteSchwabacherDemi.pfb)   ;
/AlteSchwabacherShadow  (AlteSchwabacherShadow.pfb) ;

and you can also add a section for % Aliases

ex : 


/AlteSchwabacher-Bold   /AlteSchwabacherDemi;
/AlteSchwabacher-Italic /AlteSchwabacher;
/AlteSchwabacher-Bold-Italic/AlteSchwabacherDemi;


etc.

then you can use the alias name with Abcm2ps in your abc file

ex : 

%%textfont AlteSchwabacher-Bold 15
%%vskip 0.5cm
%%center F r a u   N a c h t i g a l l  
%%center Volkslieder vom 12. Jahrhundert bis zur Gegenwart
%%textfont AlteSchwabacher 12
%%vskip 0.5cm  
%%center Herausgegeben
%%center von
%%center Carl Reyß und Fritz Spieser 


If you want to have a look to what you can get with this :

http://anamnese.online.fr/abc/nachtigl.pdf

you'll get all the sources in the 
http://anamnese.online.fr/abc/  directory

I even used some celtic fonts for 
http://anamnese.online.fr/abc/celtia.pdf


Hope that help.
 I haven't processed new files for long, so I can't remember all.
Anyway, if you can't make it work, you can email me. I remember it
worked fine for some fonts, but I had pb with some others
(especially Garamond).



___
Do You Yahoo!? -- Une adresse @yahoo.fr gratuite et en français !
Yahoo! Mail : http://fr.mail.yahoo.com
To subscribe/unsubscribe, point your browser to: http://www.tullochgorm.com/lists.html



Re: [abcusers] Adding PostScript fonts?

2003-02-14 Thread Guido Gonzato
On Fri, 14 Feb 2003, Forgeot Eric wrote:

 oups, it seems I forget to post this one after typing it...
 
 If you're using ghostscript... 
 you put in /fonts/ your new fonts
 (ex : Hansagotisch.pfb, maybe there are also other definitions, I

wow, that looks GREAT! BTW, it's amazing how you guessed the type of font I
meant to install.

Thank you very much,
  Guido =8-)

-- 
Guido Gonzato, Ph.D. guido . gonzato at univr . it - Linux System Manager
Universita' di Verona (Italy), Facolta' di Scienze MM. FF. NN.
Ca' Vignal II, Strada Le Grazie 15, 37134 Verona (Italy)
Tel. +39 045 8027990; Fax +39 045 8027928 --- Timeas hominem unius libri

To subscribe/unsubscribe, point your browser to: http://www.tullochgorm.com/lists.html



Re: [abcusers] Adding PostScript fonts?

2003-02-11 Thread Jean-Francois Moine
On Thu, 6 Feb 2003 15:09:29 +0100 (CET), Guido Gonzato [EMAIL PROTECTED] 
wrote:
Hello all,

Hello Guido,

[snip]
So, I'd like to know: 1) is it possible to add a new font to GhostScript,
and how? 2) how can *abc*2ps use this new font, if at all possible?

For 2), you just give the name of the font in the pseudo-comments
'%%xxxfont'. If the font is defined inside a tune, you also have to put
a '%%font' at the beginning of the file or in a format file.

Best regards.

-- 
Ken ar c'hentañ | ** Breizh ha Linux atav! **
|   http://moinejf.free.fr/
Pépé Jef|   mailto:[EMAIL PROTECTED]
To subscribe/unsubscribe, point your browser to: http://www.tullochgorm.com/lists.html



[abcusers] Adding PostScript fonts?

2003-02-10 Thread Bob Archer
Guido Gonzato [EMAIL PROTECTED] wrote:

 I use abcm2ps but my question is applicable to all ABC to PostScript
 converters. We all know that PostScript has those nice 35 fonts, which
 ought to be enough for everybody. But what if I wanted to use some other
 weird font?
 
 So, I'd like to know: 1) is it possible to add a new font to GhostScript,
 and how? 2) how can *abc*2ps use this new font, if at all possible?

If you have the font available as a truetype font it can be added to 
the GhostScript font map. The font map maps font names to the actual 
files containing the fonts. On my machine (Windows 2000 with 
GhostScript 7.03) the fontmap is found at:

C:\Program Files\gs\gs7.03\lib\Fontmap.GS

You can add extra entries at the bottom of the file. E.g. to add the 
comic font I added:

/Comic (c:/winnt/fonts/comic.ttf) ;

(note the forward slashes rather than back slashes in the pathname).

As far as making abc2ps use the new font, I don't know. If nothing 
else you could use a script to go through the postscript output and 
substitute your new font name, although if abc2ps uses font size 
information it might not give the desired output.

Bob

--
-- Bob Archer  [EMAIL PROTECTED]

To subscribe/unsubscribe, point your browser to: http://www.tullochgorm.com/lists.html



[abcusers] Adding PostScript fonts?

2003-02-06 Thread Guido Gonzato
Hello all,

I use abcm2ps but my question is applicable to all ABC to PostScript
converters. We all know that PostScript has those nice 35 fonts, which
ought to be enough for everybody. But what if I wanted to use some other
weird font?

So, I'd like to know: 1) is it possible to add a new font to GhostScript,
and how? 2) how can *abc*2ps use this new font, if at all possible?

Thanks,
   Guido =8-)

-- 
Guido Gonzato, Ph.D. guido . gonzato at univr . it - Linux System Manager
Universita' di Verona (Italy), Facolta' di Scienze MM. FF. NN.
Ca' Vignal II, Strada Le Grazie 15, 37134 Verona (Italy)
Tel. +39 045 8027990; Fax +39 045 8027928 --- Timeas hominem unius libri

To subscribe/unsubscribe, point your browser to: http://www.tullochgorm.com/lists.html



Re: [abcusers] Adding PostScript fonts?

2003-02-06 Thread Ewan A. Macpherson
Guido [EMAIL PROTECTED] asked:

 So, I'd like to know: 1) is it possible to add a new font to GhostScript,
 and how? 2) how can *abc*2ps use this new font, if at all possible?

Under Windows, the file fonts.htm in the GhostScript doc directory 
explains how to add new fonts. I haven't tried this myself.

cheers,
Ewan Macpherson

To subscribe/unsubscribe, point your browser to: http://www.tullochgorm.com/lists.html