Hi there,
I've discovered a difference between how text is positioned with drawText() in the simulator vs. an actual device. In this case, I've been using an Edge 520 (as it's the only device I have).
I can lay things out exactly where I want them in the simulator, only to find that they are slightly off on the actual Edge 520 device, as per the pictures attached. Now, maybe it could be argued it's only slightly out, but when you're trying to squeeze the biggest fonts you can into a tiny space, every pixel counts.
In my case, what I've found is that if I add 3 pixels to the Y coordinates and 2 pixels to the X coordinates for the device ONLY, then it displays as expected, but I have to not add these values when in the simulator. It's quite frustrating. fillRectangle() and drawArc() do not exhibit the same behaviour, clearly its related to the font rendering.
Also, there is a difference between what the simulator says is the height of an Edge 520 cell (52 or 53 pixels depending on which cell), vs. 51 or 52 pixels in the actual device.
Is it a bug?
Thanks,
Rob. community.garmin.com/.../1275047.jpg community.garmin.com/.../1275048.jpg community.garmin.com/.../1275049.jpg