Bug#318149: libxft2: Loading true type fonts takes really long
Package: libxft2
Version: 2.1.7-1
Severity: normal
Hi,
after doing the update to Xorg last night. opening truetype fonts lasts
really long. That means every app which loads some true type font need
~5s longer to start. Doing a simple ltrace -r xfd -fa Sans shows this:
0.000125 XftFontOpenName(0x8055518, 0, 0x805a86c, 0xb7db296c, 1) =
0x8079240
5.373982 FcCharSetFirstPage(0x811dd98, 0xbf81b7e0, 0xbf81b800, 0,
0xb7d77f30)
notice that the call to XftFontOpenName takes ~5s!.
I don't know if it's actually libxft2's fault, but it's where the
function cames from.
mfg Thomas
-- System Information:
Debian Release: testing/unstable
APT prefers unstable
APT policy: (500, 'unstable')
Architecture: i386 (i686)
Shell: /bin/sh linked to /bin/bash
Kernel: Linux 2.6.12.2
Locale: LANG=C, LC_CTYPE=C (charmap=ISO-8859-1) (ignored: LC_ALL set to en_US)
Versions of packages libxft2 depends on:
ii libc6 2.3.2.ds1-22 GNU C Library: Shared libraries an
ii libfontconfig1 2.3.2-1 generic font configuration library
ii libfreetype6 2.1.10-1 FreeType 2 font engine, shared lib
ii libx11-6 6.8.2.dfsg.1-1 X Window System protocol client li
ii libxrender1 1:0.9.0-2 X Rendering Extension client libra
ii xlibs 6.8.2.dfsg.1-1 X Window System client libraries m
ii zlib1g 1:1.2.2-8 compression library - runtime
libxft2 recommends no packages.
-- no debconf information
Reply to: