freetype-devel
[Top][All Lists]
Advanced

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

Re: [ft-devel] Use FTC_ImageCache_Lookup() in combination of FT_GlyphSlo


From: lunafox
Subject: Re: [ft-devel] Use FTC_ImageCache_Lookup() in combination of FT_GlyphSlot_Embolden()
Date: Tue, 15 Sep 2009 01:45:01 -0700 (PDT)

Or in other words, we do have the function FT_GlyphSlot_Embolden() to
embolden an FT_GlyphSlot, but is there any way to implement a function
FT_Glyph_Embolden() that emboldens an FT_Glyph by any chance?


lunafox wrote:
> 
> Hi,
> 
> I've read the ftview code to see how to synthesize bold weight from a
> regular TrueType font.
> Generally FT_GlyphSlot_Embolden() is called after FT_Load_Glyph() and
> before rendering.
> However, in my case, in order to speed up loading glyphs I call
> FTC_ImageCache_Lookup() instead, which returns a rendered FT_Glyph.
> 
> Is there any way to use both of them?
> 
> Regards,
> lunafox
> 

-- 
View this message in context: 
http://www.nabble.com/Use-FTC_ImageCache_Lookup%28%29-in-combination-of-FT_GlyphSlot_Embolden%28%29-tp25358646p25450293.html
Sent from the Freetype - Dev mailing list archive at Nabble.com.





reply via email to

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