En/na Marc Weustink ha escrit:

clearly marked as an ugly workaround in need of a proper solution.
Since I really don't understand the full code,

Thats why I didn't apply the patch. I need to get the whole picture.
FYI, one key indication that something strange is happening there is that PChars are returned from an internal function.

I don't see it returning a pchar, anyway I'm looking more carefully into that patch and the problem aren't the ampersand (my labels don't have any) neither the word wrap (ditto), but the fact that gdk_text_extents (in gtkproc.inc) sigsevs when calling pango_layout_get_pixel_size, the patch "solves" it simply because it avoids calling GetTextExtentIgnoringAmpersands which in turn calls gdk_text_extents. I still don't know the reason of the failure in the call to pango_layout_get_pixel_size.


Bye
--
Luca

_________________________________________________________________
    To unsubscribe: mail [EMAIL PROTECTED] with
               "unsubscribe" as the Subject
  archives at http://www.lazarus.freepascal.org/mailarchives

Reply via email to