freetype small reads
☂Josh Chiα (谢任中)
joshchia at gmail.com
Mon Nov 17 13:03:45 PST 2008
Hi,
I notice that freetype is making a lot of small reads, resulting in a lot of
SYS_read calls. I'm using freetype in an app that runs in a ptrace
sandbox. Is there a simple way to prevent the numerous small reads (via
ft_ansi_stream_io), such as configuring freetype to prefetch into a large
buffer when reading, and making it assume that font files never change? If
there is no simple config change, I'll probably have to do this with some
code change. Thanks!
Josh
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.x.org/archives/xorg/attachments/20081117/68ab3caa/attachment.html>
More information about the xorg
mailing list