wei-spring / codenameone

Automatically exported from code.google.com/p/codenameone
0 stars 0 forks source link

Same Code Renders Text In Different Positions On Different Platforms #1228

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
In the Windows simulator the text sits on the descent, under the Ubuntu 
simulator the text starts with the ascender and on IOS the text sits on the 
baseline.
I think if Codename One used the Java Font Metrics correctly this would work 
fine.

See 
https://groups.google.com/d/msg/codenameone-discussions/cqgUFI3Ti20/GBq7mPeSnJEJ

Original issue reported on code.google.com by Stefan.A...@gmail.com on 14 Nov 2014 at 7:25

GoogleCodeExporter commented 9 years ago
I believe this has already been fixed. Please check

Original comment by Stefan.A...@gmail.com on 16 Mar 2015 at 3:56

GoogleCodeExporter commented 9 years ago
Steve, was this fixed?

Original comment by shai.almog on 16 Mar 2015 at 4:30

GoogleCodeExporter commented 9 years ago
I don't know.  I did make some changes to font height calculations to use font 
metrics properly on the simulator when I implemented ascent, but  didn't 
specifically test them against this issue.

Original comment by steve.ha...@codenameone.com on 16 Mar 2015 at 4:57