Re: regarding open file descriptors in Pango
- From: Behdad Esfahbod <behdad behdad org>
- To: parth k samsung com, "gtk-i18n-list gnome org" <gtk-i18n-list gnome org>, freetype-devel nongnu org
- Subject: Re: regarding open file descriptors in Pango
- Date: Tue, 29 Oct 2013 23:21:35 +0000
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
gtk-i18n-list gnome org
https://mail.gnome.org/mailman/listinfo/gtk-i18n-list
--
behdad
http://behdad.org/
[
Date Prev][Date Next] [
Thread Prev][Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]