wx.Font Strangeness

Hello NG,

      has anyone ever noticed this behavior:

font = wx.Font(10, wx.ROMAN, wx.NORMAL, wx.NORMAL)
font.GetFamily() == wx.ROMAN

True

font.SetPointSize(12)
font.GetFamily() == wx.ROMAN

False

??? What?
The Family name has changed (it is restored to wx.SWISS, that is the
default on my machine). But I didn't change the family name, only the font
size...

Is this the standard behavior? Am I missing something?

I am on Windows 2000/XP, wxPython 2.6.1.0, Python 2.4.1.

Thanks for every suggestion.

Andrea

···

_______________________________________________
Andrea Gavana
Reservoir Engineer
MOGI ? Reservoir Characterization and Modeling Dept.
ENI S.p.A. ? Exploration & Production Division
Via Emilia, 1 ? 20097 San Donato Milanese (MI) ? Italy
Phone: +39 02 520 62972
Fax: +39 02 520 61824
E-mail: andrea.gavana@agip.it
Restyled Internet Site: http://xoomer.virgilio.it/infinity77/
____________________________________________________

Eni S.p.A.
Sede legale in Roma,
Piazzale Enrico Mattei 1, 00144 Roma
Tel. centralino: +39 06598.21
www.eni.it
Capitale sociale € 4.002.934.326 i.v.
Registro Imprese di Roma,
Codice Fiscale 00484960588
Part. IVA 00905811006
R.E.A. Roma n. 756453

------------------------------------------------------------------------------------------------------------------------------------------
Message for the recipient only, if received in error, please notify the
sender and read E-mail Disclaimer

Andrea,

I can remember somebody posted the same problem here once. The reason has to do something with the font server, but I'm not sure.
I think the solution was to recreate the font with all properties specified.

  Les