legend size??
Russell Nelson
nelson at crynwr.com
Tue Dec 28 00:03:52 CET 2004
Could somebody run this test program for me?
#!/usr/bin/python
from wxPython.wx import *
dc = wxMemoryDC()
font = wxFont(10, wxSWISS, wxNORMAL, wxNORMAL)
dc.SetFont(font)
textwidth, textheight = dc.GetTextExtent("%d"%0)
print textwidth, textheight
I'm getting this:
** (t.py:19052): CRITICAL **: file pango-layout.c: line 268 (pango_layout_new): assertion `context != NULL' failed
** (t.py:19052): CRITICAL **: file pango-layout.c: line 544 (pango_layout_set_font_description): assertion `layout != NULL' failed
** (t.py:19052): CRITICAL **: file pango-layout.c: line 787 (pango_layout_set_text): assertion `layout != NULL' failed
** (t.py:19052): CRITICAL **: file pango-layout.c: line 2124 (pango_layout_get_extents): assertion `layout != NULL' failed
(t.py:19052): GLib-GObject-CRITICAL **: file gobject.c: line 1579 (g_object_unref): assertion `G_IS_OBJECT (object)' failed
7160 7159
These are the same asserts that Marcin noted:
http://www.intevation.de/pipermail/thuban-list/2004-August/000490.html
I think there's a problem with wxGTK and/or wxGTK2 on Fedora Core 2.
--
--My blog is at angry-economist.russnelson.com | Freedom means allowing
Crynwr sells support for free software | PGPok | people to do things the
521 Pleasant Valley Rd. | +1 315-323-1241 cell | majority thinks are
Potsdam, NY 13676-3213 | +1 212-202-2318 VOIP | stupid, e.g. take drugs.
More information about the Thuban-devel
mailing list
This site is hosted by Intevation GmbH (Datenschutzerklärung und Impressum | Privacy Policy and Imprint)