[wxPython] Help, wxPython apps broken in RH 8

Hi,

I’ve been building an application on wxPython 2.3.2 on RH 7.3, which was working perfectly. Along with BOA and the demos for wxPython.

I upgraded to RH 8, the apps run fine,

The problem is that I get dotted boxes when displaying text in some cases.

Check it out

http://www.bitbuilder.com/wxbroken.png

The top demo shows a StyledTextCtrl which should be showing some text , but it’s not…

The bottom demo shows the demo app when it starts, I think that’s the HTML ctrl… all demo instructions look like that , dotted boxes.

If I set Tree Menu Items to bold they also go into dotted box extravaganza.

Is it some encoding thing? Missing some font? … Where do I puts with it?

I don’t even know where to begin messing around to get this working again.

Downgrading back to 7.3 is not an option, I need to deliver my apps on RH 8…

Would appreciate your help …

Thx


Ahmad Baitalmal
BitBuilder

web: http://www.bitbuilder.com


Ahmad Baitalmal wrote:

I don't even know where to begin messing around to get this working again.

Downgrading back to 7.3 is not an option, I need to deliver my apps on RH 8..

Would appreciate your help ..
Thx

Looks like a missing font to me.

Horst

Ahmad:

The top demo shows a StyledTextCtrl which should be showing some text ,
but it's not..

   The only text it is showing is that which does not have a face defined
and is not bold. Something is wrong with font mapping. You could attempt to
work around the problem by only using the default font in plain styles.

Downgrading back to 7.3 is not an option, I need to deliver my apps on
RH 8..

   There was a review of RH 8 that said it has a new 'easy' of installing
fonts which is not compatible with all applications.

   Neil

The easy way to install fonts in RH 8 is to dump your ttf fonts into ~/.fonts.

That works, but that’s only for GTK2 based apps.

GTK1 apps do not see those fonts. The funny thing is, I modified the GTK1 theme in /usr/share/themes/Blucurve/gtk/gtkrc, set a custom font and it works for some GTK1 apps.

I run SciTE which is a GTK1 app and it works fine.

RH 8 also includes Evolution, which is GTK1. Evolution and wxPython apps do not see my font setting.

While SciTE does.

I guess I should check with ximian or RH and ask where Evo gets it fonts, cuz that’s where wxPython apps get them and it aint from the /usr/share/themes folder.

Thx

···

On Thu, 2002-10-03 at 00:23, Neil Hodgson wrote:

*Ahmad:*
*> The top demo shows a StyledTextCtrl which should be showing some text ,,*
*> but it's not..*
 *The only text it is showing is that which does not have a face defined*
*and is not bold. Something is wrong with font mapping. You could attempt to*
*work around the problem by only using the default font in plain styles.*
*> Downgrading back to 7.3 is not an option, I need to deliver my apps on*
*> RH 8..*
 *There was a review of RH 8 that said it has a new 'easy' of installing*
*fonts which is not compatible with all applications.*
 *Neil*
*_______________________________________________*
*wxpython-users mailing list*
*wxpython-users@lists.wxwindows.org*

http://lists.wxwindows.org/mailman/listinfo/wxpython-users


Ahmad Baitalmal
BitBuilder

web: http://www.bitbuilder.com


Ahmad Baitalmal wrote:

I guess I should check with ximian or RH and ask where Evo gets it
fonts, cuz that's where wxPython apps get them and it aint from the
/usr/share/themes folder.

It gets them where the rest of world does: from X server. The list of
directories is in /etc/X11/XF86Config or /etc/X11/XF86Config-4 if you
don't use xfs and in /etc/X11/fs/config if you do (you probably do).
I would assume that RH8 adds ~/.fonts to X server on startup...

Vaclav