[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Freetype] How to use bold or italic fonts?
From: |
Werner LEMBERG |
Subject: |
Re: [Freetype] How to use bold or italic fonts? |
Date: |
Sun, 13 Jan 2002 15:38:06 +0100 (CET) |
> Question is, how can I set this font to bold or italic (using
> FT_STYLE_FLAG_ITALIC or FT_STYLE_FLAG_BOLD)?
You can't. FreeType neither makes a font italic nor bold. These
flags are for information, i.e., they indicate that a font is italic
or bold (or both).
Nevertheless, you can slant a font with a proper font matrix (as you
may know, slanting is something completely different compared to
italic).
Werner