[wxPython-users] Pango warning

Robin Dunn robin at alldunn.com
Mon Dec 3 12:14:18 PST 2007


chris botos wrote:
> Hi all,
> 
> My platform is Solaris 10, GTK+2.4, wxPython 2.6.4.3, python 2.4.4.
> 
> I'm getting the following output, though I'm not sure yet when in my app:
> (python: 3352): Pango-WARNING **: Cannot open font file for Serif 12
> 
> I do specify font Arial 12 for some text, both bolded and not bolded.
> Can anyone point me to or give insight where the font file is supposed
> to be located, why I might not have it (I guess that's a tall order),
> or how I might otherwise debug or fix this?
> 
> It doesn't seem to bother the way the app behaves, and I haven't
> noticed any text that looks wrong.

Do all wx apps do this, or just your app that sets some specific fonts? 
  It might be that some wx code somewhere that assumes that there is a 
"Serif" font name on systems is failing, such as when the wx.NORMAL_FONT 
or similar are initialized.

-- 
Robin Dunn
Software Craftsman
http://wxPython.org  Java give you jitters?  Relax with wxPython!





More information about the wxpython-users mailing list