freetype-devel
[Top][All Lists]
Advanced

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

Re: [ft-devel] FTC_SBitCache_Lookup and manual bold/italic


From: Devin Heitmueller
Subject: Re: [ft-devel] FTC_SBitCache_Lookup and manual bold/italic
Date: Mon, 26 Aug 2013 15:44:05 -0400

On Fri, Aug 16, 2013 at 11:22 AM, Devin Heitmueller
<address@hidden> wrote:
> Hello there,
>
> I'm in the process of doing some more glyph caching work on VLC.  I
> originally converted it to use FTC_ImageCache_Lookup(), which was a
> significant improvement, but then I discovered FTC_SBitCache_Lookup(),
> which seems to work even better.
>
> The challenge is that the existing VLC code supports manually applying
> bold/italic for those fonts which don't natively support it.  With the
> original code, this was done with FT_GlyphSlot_Embolden().  With my
> new code that used the imagecache, I was able to get the same
> functionality to work with FT_Bitmap_Embolden().
>
> Now that I'm moving to using the SbitCache functionality, what's the
> process for achieving the same effect?  As far as I can tell, because
> I'm getting the actual rendered bitmap instead of the glyph I cannot
> simply use the FT_Bitmap_Embolden() function.
>
> I've got everything working except for this edge case (and the code
> now performs *significantly* better), but I need to handle this case
> in order for the improvements to be accepted upstream.
>
> Any suggestions that you could offer would be greatly appreciated.
>
> Thanks in advance,
>
> Devin

Not to be a pest, but does anybody have any thoughts on this?

Thanks,

Devin

-- 
Devin J. Heitmueller - Kernel Labs
http://www.kernellabs.com



reply via email to

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