You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The GraphicsRenderContext has a FontScale property which defaults to 0.8 (this may account for text appearing smaller than expected).
I don't understand the rational for this, unless it is a crude mapping from Pixels (usually what you end up with as the PageUnit of a Graphics object) to Points.
Adding a DefaultFontFamily to GraphicsRenderContext would be easy enough, but how would we address different font sizes for title plot elements? Just use the default font size again, or multiply by some factor?
As well as the PlotModel font/size getting set to non-default values, the Class Diagrams font also targets Segoe UI and sets the default font size to 9.
How do we intend on addressing title and subtitle font size? As suggested by VisualMelon, multiplying by some factor of the default size is probably a good idea.
Also, we might want to consider not multiplying the font size by 0.8, (The Fontscale property in GraphicsRendercontext) as this makes the font size appear too small, especially when using the system default font size value.
Feature description
I have struggled with setting the plot to the very same font than the rest of the WinFormsApp, in order to follow "Use only one font" at https://oxyplot.readthedocs.io/en/latest/guidelines/design.html:
...results in too small font. Also, it is not clear what size (e.g. Points) Oxy expects.
…looks old-fashioned.
Why not reuse the apps font rather than fixing to "Segoe UI" and 12?
At least there should be an example showing how to achieve "Use only one font".
The text was updated successfully, but these errors were encountered: