freetype-devel
[Top][All Lists]
Advanced

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

Re: [ft-devel] regarding open file descriptors in Pango


From: Behdad Esfahbod
Subject: Re: [ft-devel] regarding open file descriptors in Pango
Date: Tue, 29 Oct 2013 23:21:35 +0000
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:24.0) Gecko/20100101 Thunderbird/24.0

You are on your own re implementing FT_Face caching on PangoFT2 fontmaps.  If
you come up with a cache, I'll consider upstreaming it.

behdad

On 13-10-29 04:45 AM, Parth Kanungo wrote:
> Hello all,
> 
>  
> 
> I observed that in pangoft2, the file descriptor opened for the font file,
> does not get closed until we destroy the PangoFontMap.
> 
> If we create 2 or 3 instances of PangoFontMap and try to render for different
> sizes, for every size, pangoft2 opens a file descriptor.
> 
> This is creating an issue in my module, as multiple file descriptors get 
> opened.
> 
> To achieve my goal, I have closed the file descriptor in
> pango_ft2_unlock_face() by calling FT_Done_Face().
> 
> But, this implementation opens and closes the file every time, which is a bit
> costly.
> 
> Is there any other workaround for this ?
> 
>  
> 
> Thanks and regards,
> 
> Parth Kanungo
> 
> // 
> 
>  
> 
>  
> 
> 
> 
> _______________________________________________
> gtk-i18n-list mailing list
> address@hidden
> https://mail.gnome.org/mailman/listinfo/gtk-i18n-list
> 

-- 
behdad
http://behdad.org/



reply via email to

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