Your message dated Wed, 12 May 2010 00:33:50 +0200
with message-id <1273617230.6924.195.ca...@kirk>
and subject line Fixed by now
has caused the Debian Bug report #482329,
regarding Wrong positioning of letters
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)


-- 
482329: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=482329
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: libpango1.0-0
Version: 1.20.2-2
Severity: normal

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi,

I’m not sure if this is a pango or cairo bug, but I’m starting here. See
the simple attached program that renders a string using cairo and pango.
It is written in python, but the same behaviour was observed in an C
package first (binary package sm), so it is a bug in the C libraries.

It should print ":-)" in relatively large letters, but I get the output
as in the attached image. This does not happen at all font sizes, but
only for certan spans of sizes.

This bug is relatively bad for users of screen-message (sm), because it
makes it non-reliable.

Thanks,
Joachim


- -- System Information:
Debian Release: lenny/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: i386 (i686)

Kernel: Linux 2.6.24-1-686 (SMP w/1 CPU core)
Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages libpango1.0-0 depends on:
ii  libc6                  2.7-11            GNU C Library: Shared libraries
ii  libcairo2              1.6.4-2           The Cairo 2D vector graphics libra
ii  libdatrie0             0.1.3-1           Double-array trie library
ii  libfontconfig1         2.5.0-2           generic font configuration library
ii  libfreetype6           2.3.5-1+b1        FreeType 2 font engine, shared lib
ii  libglib2.0-0           2.16.3-2          The GLib library of C routines
ii  libpango1.0-common     1.20.2-2          Modules and configuration files fo
ii  libthai0               0.1.9-3           Thai language support library
ii  libx11-6               2:1.0.3-7         X11 client-side library
ii  libxft2                2.1.12-2          FreeType-based font drawing librar
ii  libxrender1            1:0.9.4-1         X Rendering Extension client libra
ii  zlib1g                 1:1.2.3.3.dfsg-12 compression library - runtime

libpango1.0-0 recommends no packages.

- -- no debconf information

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)

iD8DBQFINJFq9ijrk0dDIGwRAi/UAKCKzJu0pafNNn7dBuY4XdAUXHah7gCdHOjU
T/vW6LZ1dH0lCxp3BkbGPpY=
=I0DO
-----END PGP SIGNATURE-----
#!/usr/bin/python

import gtk
import pango

window = gtk.Window(gtk.WINDOW_TOPLEVEL)

settings = gtk.settings_get_default()
draw = gtk.DrawingArea()
draw.set_size_request(400,300)

font = pango.FontDescription()
font.set_family("sans-serif")
#font.set_size(366424)
font.set_size(300000)
layout = draw.create_pango_layout(":-)")
layout.set_font_description(font)
# alignment does not seem to matter:
layout.set_alignment(pango.ALIGN_CENTER)

def redraw(w=None,e=None):
	gc = draw.get_style().fg_gc[gtk.STATE_NORMAL]
	(w1,h1) = layout.get_pixel_size()
	if h1>0 and w1>0:
		(x,y,w2,h2) = draw.get_allocation()
		draw.window.draw_layout(gc,(w2-w1)/2,(h2-h1)/2,layout)

window.add(draw)
window.show_all()
draw.connect("expose-event", redraw)
gtk.main()

<<attachment: pangobug.png>>


--- End Message ---
--- Begin Message ---
Hi,

at my current unstable box, I cannot reproduce these font rendering bugs
any more.

Greetings,
Joachim
-- 
Joachim "nomeata" Breitner
Debian Developer
  [email protected] | ICQ# 74513189 | GPG-Keyid: 4743206C
  JID: [email protected] | http://people.debian.org/~nomeata

Attachment: signature.asc
Description: This is a digitally signed message part


--- End Message ---

Reply via email to