On 2009.06.23 at 19:33:04 +0000, Debian Bug Tracking System wrote:

> From: Manoj Srivastava <sriva...@acm.org>
> Subject: Re: Bug#488224: Window titles are incorrectly displayed if fvwm is
>       running in utf-8 locale
> Date: Tue, 23 Jun 2009 14:15:24 -0500
> In-Reply-To: <20080627083154.ga24...@wagner.pp.ru> (Victor Wagner's message
>       of "Fri, 27 Jun 2008 12:31:54 +0400")
> 
> Hi,
> 
>         Please see the explanation given in:
> http://bugs.debian.org/cgi-bin/bugreport.cgi?msg=15;bug=488224
 

>         For why this is not an fvwm bug.

It is a fvwm bug

1. There is freedesktop.org specification which allows to use
non-latin letters in window names. And both fvwm and wish follow it.

2. If xft fonts are used for window names, names are displayed
correctly. Problem occurs only with bitmap fonts.

But it scalable fonts are in many cases undesirable for such things as
windows names. They looks ugly in small sizes. Moreover, in distributed
environment client side rendering of fonts consume a lot of bandwidth,
compared with traditional X11 fonts.


> 

> From: Victor Wagner <vi...@wagner.pp.ru>
> Subject: Window titles are incorrectly displayed if fvwm is running in utf-8
>       locale
> Date: Fri, 27 Jun 2008 11:32:04 +0400
> 
> Package: fvwm
> Version: 1:2.5.26-1
> Severity: normal
> 
> 
> Although this problem looks simular to bugs #439904 and #452661 I decide 
> to 
> file separate bug report, because my investigation shows quite different 
> results.
> 
> If fvwm2 is started in some 8-bit locale, such as ru_RU.KOI-R, 
> applications, which follow freedesktop.org specifications (such as 
> Mozilla and wish) are able to display title bars with cyrillic letters 
> correctly.
> 
> However, if fvwm2 is started in ru_RU.UTF-8 locale, cyrillic letters in 
> the window titles are 
> broken even if application runs in the same  locale as fvwm.
> 
> Moreover incorrect titles are same regardless of locale application is 
> run in.
> 
> Following tcl script demonstrates problem. It contains unicode escaped 
> cyrillic letters, so it can be run in any locale without modification 
> and encoding conversion
> 
> ----
> #!/usr/bin/wish
> wm title . "\u0420\u0443\u0441\u0441\u043a\u0438\u0439"
> ----
> 
> Attached screenshots shows how it looks in both cases.
> I've WindowFont configuration option set to
> -*-times-bold-r-*-*-12-*-*-*-*-*-iso10646-1 for utf-8
> and
> -*-times-bold-r-*-*-12-*-*-*-*-*-koi8-r for koi8
> 
> which resolves to fonts from xfonts-bolkhov-100dpi and 
> xfonts-bolkhov-koi8r-100dpi packages respectively.
> 
> 
> 
> 
> -- System Information:
> Debian Release: lenny/sid
>   APT prefers testing
>   APT policy: (500, 'testing')
> Architecture: i386 (i686)
> 
> Kernel: Linux 2.6.25-2-686 (SMP w/1 CPU core)
> Locale: LANG=ru_RU.UTF-8, LC_CTYPE=ru_RU.UTF-8 (charmap=UTF-8)
> Shell: /bin/sh linked to /bin/bash
> 
> Versions of packages fvwm depends on:
> ii  libc6                  2.7-10            GNU C Library: Shared libraries
> ii  libcairo2              1.6.4-1+b1        The Cairo 2D vector graphics 
> libra
> ii  libfontconfig1         2.5.0-2           generic font configuration 
> library
> ii  libfreetype6           2.3.5-1+b1        FreeType 2 font engine, shared 
> lib
> ii  libfribidi0            0.10.9-1          Free Implementation of the 
> Unicode
> ii  libglib1.2ldbl         1.2.10-19         The GLib library of C routines
> ii  libglib2.0-0           2.16.3-2          The GLib library of C routines
> ii  libgtk1.2              1.2.10-18.1       The GIMP Toolkit set of widgets 
> fo
> ii  libgtk2.0-0            2.12.9-3          The GTK+ graphical user 
> interface 
> ii  libice6                2:1.0.4-1         X11 Inter-Client Exchange library
> ii  libncurses5            5.6+20080308-1    Shared libraries for terminal 
> hand
> ii  libpng12-0             1.2.27-1          PNG library - runtime
> ii  libreadline5           5.2-3             GNU readline and history 
> libraries
> ii  librplay3              3.3.2-11.1        Shared libraries for the rplay 
> net
> ii  librsvg2-2             2.22.2-2          SAX-based renderer library for 
> SVG
> ii  libsm6                 2:1.0.3-1+b1      X11 Session Management library
> ii  libstroke0             0.5.1-6           mouse strokes library -- runtime 
> f
> ii  libx11-6               2:1.0.3-7         X11 client-side library
> ii  libxcursor1            1:1.1.9-1         X cursor management library
> ii  libxext6               2:1.0.4-1         X11 miscellaneous extension 
> librar
> ii  libxft2                2.1.12-2          FreeType-based font drawing 
> librar
> ii  libxi6                 2:1.1.3-1         X11 Input extension library
> ii  libxinerama1           2:1.0.3-2         X11 Xinerama extension library
> ii  libxpm4                1:3.5.7-1         X11 pixmap library
> ii  libxrender1            1:0.9.4-1         X Rendering Extension client 
> libra
> ii  zlib1g                 1:1.2.3.3.dfsg-12 compression library - runtime
> 
> Versions of packages fvwm recommends:
> ii  fvwm-icons                  2001.08.13-6 XPMs icons from fvwm development 
> s
> 
> -- no debconf information







-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to