Hi,
I'm using reference fonts/atlases to support pixel densities on mobile devices. Since the introduction of the pixel size property on UILabel I've found that when switching pixel sizes labels jump to double or half their intended font size.
What I'm seeing is that the font size (as seen on the UILabel inspector) is 43 when using the SD (1.0 pixel size) version of a font, but 85 when using HD (0.5 pixel size). That makes sense in terms of real font pixels, but surely the UILabel should work in terms of (font size * atlas pixel size)? Whichever value I fix in the inspector is wrong for the other pixel density screen.
If I force label.fontSize = font.defaultSize then it fixes it OK, but that means having code everywhere to fix things up.
I've checked and the fonts' pixelSizes are correctly picking up the pixelSizes from their parent atlases.
Is there anything I've missed? Normally I try and fix these things myself, but I'm not sure where the right place is to start...
Many thanks,
David