freetype
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [ft] Applying Styles to text using a font


From: Werner LEMBERG
Subject: Re: [ft] Applying Styles to text using a font
Date: Thu, 28 Jan 2010 17:53:35 +0100 (CET)

> Can somebody please help me in applying styles to text using a ttf
> font ?

Hmm.  Artificial emboldening can be done with FT_Outline_Embolden.
Slanting a font artificially can be done by using a proper
transformation matrix.

> Eg: consider the string 'sample', and am using 'verdana' font
> 
> I want to apply bold or italic style to this string so that it becomes
> 
> In Bold sample
> 
> In Italic sample

`Italic' can't be done artificially since it uses different letter
forms compared to `slanted'.


    Werner




reply via email to

[Prev in Thread] Current Thread [Next in Thread]