Does the ° symbol work?

Trying to draw the ° character using the FONT_LARGE on the 920, according to the docs it's supported but doesn't display, i..e

dc.drawText(dc.getWidth() - 21, 56, Gfx.FONT_LARGE, "°°°°°°°°°°°", Gfx.TEXT_JUSTIFY_VCENTER);
  • Trying to draw the ° character using the FONT_LARGE on the 920, according to the docs it's supported but doesn't display, i..e

    dc.drawText(dc.getWidth() - 21, 56, Gfx.FONT_LARGE, "°°°°°°°°°°°", Gfx.TEXT_JUSTIFY_VCENTER);



    Im just shooting from the hip, but check what the encoding on your file is where you have this character.
    Should be UTF-8
  • I use the degree symbol in my weather/tempe stuff, and I have a comment about it:

    var degree="°"; //utf-8, b0 hex, 176 dec

    IIRC, there were two characters that looked the same, but weren't, and not all fonts and sizes support it. As HermoT said, the .mc has to be UFT-8.

    Some FONT_NUMBER_* on the 920 don't suport it (I usually use number fonts for the temperature, but have a couple times that use regular fonts.)

    Appendix B for the UXGuide in the SDK gives all the info. Doesn't look like all sizes of text fonts support it all all devices, for example.

    (I just noticed that appendix B doesn't have details on the 230/235/630 yet)