Package: libimlib2 Version: 1.3.0.0debian1-4 Severity: normal Tags: l10n imlib_get_text_size(..) and imlib_text_draw_with_return_metrics(..) return different width when the text to be drawn contains characters with code points not supported by the current font. i used utf-8 encoded text with 2-byte characters (cyrillic), i.e. code point 0x0439, corresponding bytes d0b9. when a font is loaded with support for the code points, the two functions return the same width, otherwise imlib_text_draw_with_return_metrics(..) returns the correct value, whereas imlib_get_text_size(..) returns a small number (e.g. 17) which seems to be uncorrelated with the text.
-- System Information: Debian Release: 4.0 APT prefers stable APT policy: (900, 'stable'), (500, 'oldstable') Architecture: i386 (i686) Shell: /bin/sh linked to /bin/bash Kernel: Linux 2.6.18-4-686 Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8) Versions of packages libimlib2 depends on: ii libbz2-1.0 1.0.3-6 high-quality block-sorting file co ii libc6 2.3.6.ds1-13 GNU C Library: Shared libraries ii libfreetype6 2.2.1-5+etch1 FreeType 2 font engine, shared lib ii libid3tag0 0.15.1b-10 ID3 tag reading library from the M ii libjpeg62 6b-13 The Independent JPEG Group's JPEG ii libpng12-0 1.2.15~beta5-1 PNG library - runtime ii libtiff4 3.8.2-7 Tag Image File Format (TIFF) libra ii libungif4g 4.1.4-4 shared library for GIF images ii libx11-6 2:1.0.3-7 X11 client-side library ii libxext6 1:1.0.1-2 X11 miscellaneous extension librar ii zlib1g 1:1.2.3-13 compression library - runtime libimlib2 recommends no packages. -- no debconf information -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]