I’m trying to do a custom canvas drawing and need font size to be what I set it to, not what the system is adjusting it to.
Is there a way to do this?
If the user has increased the font scaling (a lot) then SystemFont(12), for example, comes out huge.
I need some predictability for sake of my use-case. Suggestions?
Daniel_G
(Daniel G)
2
Does changing FontUnit to something else resolve this?
that’s not supported on Android.
1 Like
Martin_T
(Martin T)
4
You could divide your value with App.CurrentScreen.ScaleFactor to get the „original“ size you‘ve set.
that’s an interesting thought.
In practice it seems that there is a disconnect - the approach you suggest looks like it hugely exaggerates the scale.
Something is fishy.
Martin_T
(Martin T)
6
Can you share a sample project to see what you trying to do?