I have a user reporting the following error with my newest gnomeprint
implentation:
gnomeprint.pango_create_context(gnomeprint.pango_get_default_font_map())
AttributeError: 'module' object has no attribute
'pango_create_context'

I assume this error is a result of his using an older version of
gnomeprint that doesn't support pango_create_context.  If so, I'd like
to implement a workaround for users like him (I'll have my app detect
the version and then give them my old not-pango-ified gnomeprint stuff
if they can't support the new).  However, I wanted to confirm, if
possible, that this is in fact a versioning issue.  So, can anyone
tell me:

1. When was pango_create_context added to gnomeprint?
2. How would you suggest detecting the version of gnomeprint a user
has installed?

Thanks in advance,
Tom
_______________________________________________
pygtk mailing list   pygtk@daa.com.au
http://www.daa.com.au/mailman/listinfo/pygtk
Read the PyGTK FAQ: http://www.async.com.br/faq/pygtk/

Reply via email to