Complete
over 4 years ago

Missing FNT_ROBOTO_CONDENSED_xxx fonts

Hello everyone,

I am developing an application targeting Edge 1030 devices and I'm trying to use FONT_TINY but I get a "Simulator Error" that reads:

can't open file 'C:\Users\xxx\AppData\Roaming\Garmin\ConnectIQ\...\FNT_ROBOTO_CONDENSED_222.cft' (error 2: The system cannot find the file specified.)

And, indeed, there aren't any "FNT_ROBOTO_CONDENSED_<size>.cft" files in the directory (but "FONT_ROBOTO_CONDENSED_REGULAR_<size>.cft" and others are there).

In the console I can see the following:

Error: Invalid Font Specified
Details: Failed invoking <symbol>
Stack:
- fitTextToArea() at D:\grmn\prj\di\ciq\toolchain\mbsimulator\submodules\technology\monkeybrains\virtual-machine\api\WatchUi.mb:4822 0x30004b76
- draw() at D:\grmn\prj\di\ciq\toolchain\mbsimulator\submodules\technology\monkeybrains\virtual-machine\api\WatchUi.mb:4626 0x300045f0
- drawLayout() at D:\grmn\prj\di\ciq\toolchain\mbsimulator\submodules\technology\monkeybrains\virtual-machine\api\WatchUi.mb:1514 0x30002d32
- onUpdate() at D:\grmn\prj\di\ciq\toolchain\mbsimulator\submodules\technology\monkeybrains\virtual-machine\api\WatchUi.mb:1448 0x30002c9a
- onUpdate() at D:\Projects\covid-ciq-widget\source\views\WidgetView.mc:63 0x10002511

I use the latest stable 3.2.4 SDK and I also tried deleting the Connect IQ directory and re-installing it. It didn't help.

Any ideas?

Thank you!

  • If you delete the entire C:\Users\xxx\AppData\Roaming\Garmin\ConnectIQ directory and run the SDK manager, it won't notify you of any updates because there is nothing new relative to the configurations you've already downloaded. All devices should appear as not downloaded, and downloading them should fetch all of the fonts properly...  assuming you're using the fixed SDK manager and you aren't seeing some other undiscovered issue.

  • Thank you, for your help and prompt response!

    Actually, prior to writing this report, I tried deleting the whole C:\Users\xxx\AppData\Roaming\Garmin\ConnectIQ directory and re-installed the SDK using the Connect IQ SDK manager but this didn't help.

    I now deleted the directory and downloaded the latest version of the SDK manager, re-installed the 3.2.4 SDK and it worked. Strangely, the SDK manager either hadn't notified me of available updates, or the update hadn't fix the device configurations.

    In this regard, may I suggest adding a "Repair" button to the SDK manager to verify and repair whatever is installed?

  • We had a bug in the SDK manager that caused it to not properly download and extract the fonts for devices. The problem has since been fixed.

    Make sure you have the current SDK manager, then delete the device configs and fonts folders (C:\Users\xxx\AppData\Roaming\Garmin\ConnectIQ\Devices and C:\Users\xxx\AppData\Roaming\Garmin\ConnectIQ\Fonts) and then re-download the devices.