Acknowledged
over 1 year ago

dc.drawAngledText() Symbol Not Found Error on Venu 3 and Venu 3s

Example:

if(dc has :drawAngledText)
{
    dc.drawAngledText(x, y, font2, text2, Gfx.TEXT_JUSTIFY_LEFT, 90);
}

On other watches like Forerunner 955, it draws the text.  On other watches that don't support drawAngledText(), it doesn't try to draw the angled text.  But on Venu 3, it tries to call dc.drawAngledText() but gets an error:

Error: Symbol Not Found Error

Details: Failed invoking <symbol>

This happens on hardware as well as simulator.

The documentation says it should work on Venu 3, so the if(dc has :drawAngledText) condition is expected to be true on Venu 3, but it should be able to successfully draw the text.

Parents
  • Thanks for the help.  My problem was that I was using "BionicBold" which isn't supported on Venu 3.  I was handling that by using a non-scalable font instead, so it wasn't a null font, but wasn't scalable so it wouldn't work with drawing angled text.

    I added a list of faces to choose from as you suggested so it can find a different scalable font if BionicBold isn't available.  I also added a check so I don't try to draw angled text if it is using a non-scalable font.

Comment
  • Thanks for the help.  My problem was that I was using "BionicBold" which isn't supported on Venu 3.  I was handling that by using a non-scalable font instead, so it wasn't a null font, but wasn't scalable so it wouldn't work with drawing angled text.

    I added a list of faces to choose from as you suggested so it can find a different scalable font if BionicBold isn't available.  I also added a check so I don't try to draw angled text if it is using a non-scalable font.

Children
No Data