Mail Archives: djgpp/1997/10/21/05:47:30
Genady Beryozkin wrote:
>
> Hi !
>
> I'm writing a program in which I need to use various proportional
> fonts - because the user may want to use the font up to any size.
> The one solution I found is to use BCC2GRX and use these borland .chr
> files. However I'm looking for some more elegant solution. I've read
> that GRX fonts may be proportional - but all the fonts in the FONTS
> directory are fixed. The same applies to allegro - It builds
> proportional fonts from a pcx image - which is a bitmap. So I'm stuck
> with it. I thought of using TTF or TYPE1 fonts - does anybody
> have any idea how to do that ?
Genady,
have a look at
http://www.physiol.med.tu-muenchen.de/~robert/freetype.html
for a TTF lib and at
http://www.neuroinformatik.ruhr-uni-bochum.de/ini/PEOPLE/rmz/t1lib.html
for a Type 1 rasterizer.
Hartmut
--
Hartmut Schirmer | Phone: +49-431-77572-709 FAX:-703
Automatisierungs- & Regelungstech. | hsc AT techfak DOT uni-kiel DOT de
Technische Fakult"at, | http://www.techfak.uni-kiel.de/~hsc
Kaiserstr. 2, 24143 Kiel, Germany | PGP key via WWW, Key ID:6D84AEC1
- Raw text -