[Bug 2475] New: with utf-8 locale loading of apps with bitmapfonts takes forever

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Sat Feb 5 13:46:16 PST 2005


Please do not reply to this email: if you want to comment on the bug, go to            
the URL shown below and enter yourcomments there.     
   
https://bugs.freedesktop.org/show_bug.cgi?id=2475          
     
           Summary: with utf-8 locale loading of apps with bitmapfonts takes
                    forever
           Product: xorg
           Version: 6.8.0
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Keywords: i18n
          Severity: normal
          Priority: P2
         Component: Fonts/other
        AssignedTo: xorg-bugzilla-noise at freedesktop.org
        ReportedBy: joy at telephonefm.com


while having a utf-8 locale switched on, loading of an x-app with bitmapfont
like xcalc or xfontsel takes a long time with high cpu-load. this seems to be
caused by the underlying XLC_LOCALE in en_US.UTF-8, with missing asian encodings.
strace xcalc says:
select(4, [3], NULL, NULL, NULL)        = 1 (in [3])
read(3, "\1\3174\0\0\0\0\0\0\0\0\0\4\0\0\0@\vL\t\1\0\0\0\220y\\"..., 32) = 32
writev(3, [{"1\0\t\0\1\0\31\0", 8}, {"*-*-*-*-*-JISX0208.1983-0", 25},
{"\0\0\0", 3}], 3) = 36
read(3, 0xbfffd400, 32)                 = -1 EAGAIN (Resource temporarily
unavailable)
as asian encodings aren't really needed with european locales it would be nice
if they could be ommited. didn`t tried it with instaled jisx encodings tough.

Gentoo Base System version 1.4.16
Portage 2.0.51-r15 (default-linux/x86/2004.3, gcc-3.4.3, glibc-2.3.4.20041102-r0
, 2.6.9-ac11 i686)
=================================================================
System uname: 2.6.9-ac11 i686 Intel(R) Pentium(R) III Mobile CPU       866MHz
Python:              dev-lang/python-2.3.4 [2.3.4 (#1, Jan 10 2005, 19:01:23)]
distcc 2.16 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [enabled]
ccache version 2.3 [enabled]
dev-lang/python:     2.3.4
sys-devel/autoconf:  2.59-r6, 2.13
sys-devel/automake:  1.5, 1.8.5-r2, 1.6.3, 1.7.9, 1.4_p6, 1.9.4
sys-devel/binutils:  2.15.92.0.2-r1
sys-devel/libtool:   1.5.10-r4
virtual/os-headers:  2.6.8.1-r2
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CFLAGS="-O3 -march=pentium3 -pipe -fomit-frame-pointer -mfpmath=sse,387 -msse -m
mmx"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.3/env /usr/kde/3.3/share
/config /usr/kde/3.3/shutdown /usr/kde/3/share/config /usr/lib/X11/xkb /usr/shar
e/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-O3 -march=pentium3 -pipe -fomit-frame-pointer -mfpmath=sse,387 -msse
-mmmx"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs autoconfig ccache distcc distlocks sandbox sfperms"
GENTOO_MIRRORS="ftp://ftp.uni-erlangen.de/pub/mirrors/gentoo ftp://ftp.wh2.tu-dr
esden.de/pub/mirrors/gentoo ftp://ftp.tu-clausthal.de/pub/linux/gentoo http://ge
ntoo.oregonstate.edu"
LANG="POSIX"
LC_ALL="POSIX"
MAKEOPTS="-j5"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/home"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="X acpi apache2 apm avi bash-completion berkdb bitmap-fonts cdr crypt cups d
oc encode ethereal f77 fam ffmpeg font-server foomaticdb fortran gdbm gif gpm gt
k gtk2 imlib insecure-drivers ipv6 java jpeg junit libg++ libwww mad makecheck m
ikmod mmx motif mpeg mysql ncurses nls nptl oggvorbis opengl oss pam pdflib perl
 png python qt quicktime readline real sdl slang spell sse ssl svga tcltk tcpd t
iff truetype truetype-fonts type1-fonts unicode x86 xml2 xv zlib"
Unset:  ASFLAGS, CBUILD, CTARGET, LDFLAGS, PORTDIR_OVERLAY

* x11-base/xorg-x11-6.8.0-r4
   Install date: Sat Feb  5 07:37:42 2005
   USE=""
   CFLAGS="-O3 -march=pentium3 -pipe -fomit-frame-pointer -mno-sse2 -mno-sse3"

reproduce:
switch to locale de_DE.UTF-8
start xcalc          
     
     
--           
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email         
     
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.


More information about the xorg-bugzilla-noise mailing list