[wxPython-users] Font size in pixels?

Robin Dunn robin at alldunn.com
Mon Nov 12 14:52:01 PST 2007


Grant Edwards wrote:
> How to I specify a font size in pixels?  
> 
> How do I find out a font's size in pixels?
> 
> Why are font sizes in points when everything else in wx is in
> pixels?
> 
> Why not stick with consistent units?
> 
> It seems pretty opaque to specify font sizes in points when the
> spaces they're drawn in are measured in pixels.
> 
> Alternatively, how do I get a widget to tell me its size in
> points?
> 


This was discussed last week, here is the thread: 
http://thread.gmane.org/gmane.comp.python.wxpython/53058


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





More information about the wxpython-users mailing list