It is a strange case possibly because what I am doing is rendering a game to a 320x240 image, then scaling it up to the fullscreen size and displaying that (quite a weird way to make an old game work I guess but the easiest I can think of). Having said that I doubt this would affect fonts since the scaling is done right at the end.
Edit, I just realised I have a copy of the graphics object, and wasnt callign set font on that, so now actually it is ok! weird how it would be different on device. Here is how I make my fonts: On Tuesday, July 26, 2016 at 11:29:47 PM UTC+8, Steve Hannah wrote: > > Default fonts and their sizes vary by platform. If you're laying out some > labels with absolute positioning and you're not deriving your fonts to be > specific pixel height, then you could get this. I'd have to see some code > to know why this is happening to you. E.g. what layout manager, styles, > fonts, etc... > > Steve > > On Tue, Jul 26, 2016 at 8:03 AM, Gareth Murfin <[email protected] > <javascript:>> wrote: > >> On the simulators my fonts look like this: >> >> https://dl.dropboxusercontent.com/u/4194619/Snap%202016-07-26%20at%2022.56.10.png >> >> But on my real device they look like this: >> >> https://dl.dropboxusercontent.com/u/4194619/Screenshot_2016-07-26-22-58-30.png >> >> Why is that? >> >> -- >> You received this message because you are subscribed to the Google Groups >> "CodenameOne Discussions" group. >> To unsubscribe from this group and stop receiving emails from it, send an >> email to [email protected] >> <javascript:>. >> Visit this group at >> https://groups.google.com/group/codenameone-discussions. >> To view this discussion on the web visit >> https://groups.google.com/d/msgid/codenameone-discussions/95c1420b-45d8-4f89-bd41-40b9d8e9efbc%40googlegroups.com >> >> <https://groups.google.com/d/msgid/codenameone-discussions/95c1420b-45d8-4f89-bd41-40b9d8e9efbc%40googlegroups.com?utm_medium=email&utm_source=footer> >> . >> For more options, visit https://groups.google.com/d/optout. >> > > > > -- > Steve Hannah > Software Developer > Codename One > http://www.codenameone.com > -- You received this message because you are subscribed to the Google Groups "CodenameOne Discussions" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. Visit this group at https://groups.google.com/group/codenameone-discussions. To view this discussion on the web visit https://groups.google.com/d/msgid/codenameone-discussions/ae76b716-95c0-44fb-91da-ac4b4174fdc9%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
