Hi,
On Wed, 16 Jan 2008, Emmanuele Bassi wrote:
On Wed, 2008-01-16 at 13:35 +0200, Karoliina Salminen wrote:
Hi,
I am using the latest trunk version of clutter (I did a fresh Linux
install on new laptop). Somehow clutter_label causes any clutter
program to crash. For example the tutorial:
weird, I cannot reproduce in any way, on various backends. this is
running on the GLX backend, right? and the box is not a 64bit one
perchance?
I could reproduce the problem on the following platforms:
* Linux, x86_64, nvidia 169.09 drivers, pango 1.16.1, freetype 2.1.10, GLX
backend
* MacOS X, i386, i945, pango 1.18.3, freetype 2.3.5, OSX backend
Well, for the second case, it doesn't crash but I will tell you what
happens in both cases with test-entry.
So, for the first ' ' character (space), FT_Render_Glyph() in
clutter/pango/pangoclutter-render.c::font_render_glyph() will return
successfully (retval == 0), but face->glyph->bitmap.buffer == NULL, and
face->glyph->{width,height} = 0.
glTexSubImage2D() doesn't crash on osx/i945 probably because the driver
checks for zero width and height? I first thought about a freetype problem
on my system but I then tried on osx (freetype 2.3.5) and bitmap.buffer is
also NULL, though the driver doesn't crash.
I don't know the core issue yet, probably a bad font?
Bye,
Gwenole.
--
To unsubscribe send a mail to [EMAIL PROTECTED]