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
  • But passing a null font produces a different error.

    e.g.

    dc.drawAngledText(120, 120, Graphics.getVectorFont({:face => "badfontname", :size => 20}), "hello", Graphics.TEXT_JUSTIFY_LEFT, 45);

    Error: Unexpected Type
    Error Details: Failed invoking <symbol>

    However, the following code works in the CIQ 6.3.1 simulator for me, with venu3 and fr955 devices:

    dc.drawAngledText(120, 120, Graphics.getVectorFont({:face => "RobotoCondensedBold", :size => 20}), "hello", Graphics.TEXT_JUSTIFY_LEFT, 45);
Comment
  • But passing a null font produces a different error.

    e.g.

    dc.drawAngledText(120, 120, Graphics.getVectorFont({:face => "badfontname", :size => 20}), "hello", Graphics.TEXT_JUSTIFY_LEFT, 45);

    Error: Unexpected Type
    Error Details: Failed invoking <symbol>

    However, the following code works in the CIQ 6.3.1 simulator for me, with venu3 and fr955 devices:

    dc.drawAngledText(120, 120, Graphics.getVectorFont({:face => "RobotoCondensedBold", :size => 20}), "hello", Graphics.TEXT_JUSTIFY_LEFT, 45);
Children
No Data