A font is an object which determines the appearance of text, primarily when drawing text to a canvas or device context. A font is determined by four parameters:
There is currently a difference between the appearance of fonts on the two platforms, if the mapping mode is anything other than MM_TEXT. Under X, font size is always specified in points. Under Windows, the unit for text is points but the text is scaled according to the current mapping mode. However, user scaling on a device canvas will also scale fonts under both environments. A future version of wxWindows will attempt to make font appearance more consistent across platforms.