[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Re[ft] ndering bold/italics styles from regular ttf fonts
From: |
Werner LEMBERG |
Subject: |
Re: Re[ft] ndering bold/italics styles from regular ttf fonts |
Date: |
Thu, 31 Jul 2008 07:22:18 +0200 (CEST) |
> Can I render the regular/bold styles from a regular style ttf fonts.
> I am having only regular styles ttf fonts. And I am using FT2 as the
> font engine.
Yes, you can artificially embolden fonts with FreeType (to a certain
extent).
> If suppose I want to render them in Italics or bold styles is it
> possible through FT2 functions?
You can't do italics, since this needs different glyph shapes.
However, you can artificially slant fonts with FreeType.
Everything is in the docs:
http://freetype.org/freetype2/docs/reference/ft2-toc.html
Werner