FontSize when font scaling is adjusted

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?

Does changing FontUnit to something else resolve this?

that’s not supported on Android.

1 Like

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.

Can you share a sample project to see what you trying to do?