UI Text Element and devicePixelRatio

Do I have to apply devicePixelRatio to font size, line height and width of an UI element of type Text manually by code or is there an option somewhere that I’m missing?

My texts are too small on screens where dpr is greater than 1.
In my scene, the “Device Pixel Ratio” option is turned on.
The UI Screen is in screen space.

Thank you!

Edit: For now I can work with setLocalScale(dpr, dpr, dpr) on the parent entity.

I am not entirely sure what you are asking for.

I’m asking for the recommended method to keep UI texts at the same size (in relation to the 3D scene) across displays with different resolution (devicePixelRatio, retina for example).