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: Tor Andersson
Subject: Re: [ft] Applying Styles to text using a font
Date: Thu, 28 Jan 2010 18:43:44 +0100

On Wed, Jan 27, 2010 at 1:16 PM, harshagomes <address@hidden> wrote:
>
> Hi,
>
> Can somebody please help me in applying styles to text using a ttf font ?
>
> Eg: consider the string 'sample', and am using 'verdana' font

The "verdana" font exists in four variants -- regular, bold, italic
and bold italic.
Load the appropriate font file for the style you want.

verdana.ttf
verdanab.ttf
verdanai.ttf
verdanaz.ttf

> I want to apply bold or italic style to this string so that it becomes
>
> In Bold sample
>
> In Italic sample
>
> Thank you,
> harshagomes
> --
> View this message in context: 
> http://old.nabble.com/Applying-Styles-to-text-using-a-font-tp27338110p27338110.html
> Sent from the Freetype - User mailing list archive at Nabble.com.
>
>
>
> _______________________________________________
> Freetype mailing list
> address@hidden
> http://lists.nongnu.org/mailman/listinfo/freetype
>




reply via email to

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