xfrun4 slow with many fonts

Joe Stone joe.stone at gmx.net
Mon Nov 3 11:47:00 CET 2003


hi !

I have a problem with xfrun4.
Last week I installed many fonts and since then xfrun4 is veerrry slow.

(for time and strace I pressed [abort] as soon as the dialog apeared)

#>time xfrun4 

real    0m12.141s
user    0m10.920s
sys     0m0.110s

strace xfrun4 produced a trace with over 8000 lines
most of them are lines like the following:

...snip.....
munmap(0x409aa000, 48284)               = 0
stat64("/usr/X11R6/lib/X11/fonts/new//dut801n.ttf", {st_mode=S_IFREG|0744, st_size=48284, ...}) = 0
open("/usr/X11R6/lib/X11/fonts/new//beehiven.ttf", O_RDONLY) = 5
fcntl64(5, F_SETFD, FD_CLOEXEC)         = 0
fstat64(5, {st_mode=S_IFREG|0744, st_size=36140, ...}) = 0
mmap2(NULL, 36140, PROT_READ, MAP_PRIVATE, 5, 0) = 0x409aa000
close(5)                                = 0
...snip.....

Why are fonts processed by xfrun4? 
How can I stop this behavior?

Has somebody an idea?

btw I have a running X Font Server.

thanx
joe




More information about the Xfce4-dev mailing list