|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Display Modes |
|
#1
|
|||
|
|||
|
font.IsFixedWidth failure?
This code, on my Windows XP system, with wxPython 2.8.4.0, fails to
identify fixed-width fonts: import wx app = wx.PySimpleApp() face_names = wx.FontEnumerator_GetFacenames() for face_name in face_names: font = wx.Font(10, wx.MDERN, wx.NRMAL, wx.BLD, underline=False, face=face_name) print face_name.ljust(32), font.IsFixedWidth() I.e., font.IsFixedWidth() always returns False. But faces such as 'r_ansi' are indeed fixed-width. Is this a wxPython bug, or am I missing something basic here? Bob |
![]() |
| Viewing: Web Development Archives > Mailing Lists > Python > font.IsFixedWidth failure? |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|