Font rendering bug in SDK 1.2.2 and 1.2.3

Please see the attached example. I have recreated the font using BMPFONT and set all offsets to 0.

The / character is incorrectly drawn, despite being the same height and y position as the ? character.

The / character is ...
char id=47 x=117 y=84 width=9 height=28 xoffset=0 yoffset=0 xadvance=9 page=0 chnl=15

The ? character is ...
char id=63 x=98 y=84 width=10 height=28 xoffset=0 yoffset=0 xadvance=10 page=0 chnl=15

Here is a shot of the actual png...



On the actual device the ? is shown correctly but the / isn't.





Also remade the roboto40 font (I use a custom font as roboto isn't available across all devices). Can you please tell me why this custom font is also rendered completely mangled?! (also attached)

Fonts

Also the fonts are rendered correctly on the simulator but not on the device, this makes finding these issues and fixing them very painful.

Another example - the 2 is drawn correctly, the 4 isn't. As you can see in the screen shot the char ids 50 and 52 (the 2 and 4 characters) look correct, as does the font file. However on the 920 the 4 character is rendered as complete garbage. WHY!?



Garmin, can you PLEASE HELP!? Ever since 1.2.2 all I get is negative ratings from users as the fonts are screwed and despite correcting the font files to correct the offsets the rendering is still wrong, for me and others!
  • Interestingly. The simulator just gave me upside down fonts for the 920 as well yday.
  • Interestingly. The simulator just gave me upside down fonts for the 920 as well yday.


    Delete the stuff in the bin directory for your project and try again. Sometimes the 1.2.2 plugin will run the "last good" .prg after there is a compile error and it could be for the wrong device if you switch targets. There is also a 1.2.3 plugin available that should handle it without you doing anything else...

    This doesn't help the problems with the real 920, but just something in the simulator.
  • This is with a CLEAN garmin directory.

    for User settings to work, the garmin temp directory needs to be cleaned up and simulator restarted.
  • This is with a CLEAN garmin directory.

    for User settings to work, the garmin temp directory needs to be cleaned up and simulator restarted.


    The bin directory for your project need to be cleared, as that is where the .prg in the temp directory comes from (it's copied from there when you start a simulation). For this, clear the bin directory for your project, or update to the 1.2.3 plugin. The 1.2.3 plug-in is the way to go, IMHO.
  • Don't use any plugins.
    All from Windows command line.
    All cleared.