[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Devel] Need Bold, italic
From: |
Werner LEMBERG |
Subject: |
Re: [Devel] Need Bold, italic |
Date: |
Mon, 16 Apr 2001 18:01:55 +0200 (CEST) |
> Now I would like to try adding bolding to the truetype font I am
> using. I have found reference to attributes in the documentation
> but have not figured the proper way to select them. Is there a
> function call used to select these attributes?
What exactly do you want? Make a TTF outline bolder? This isn't
supported since it is non-trivial (volunteers welcome to implement
that). Applying a transformation matrix you can only
slant/rotate/distort the font.
A brute-force method is to print the produced pixel image slightly
offset multiple times.
Selecting a bold font from a series of fonts (if you mean that) should
be done (at least) one level higher than FreeType.
Werner