Complete
over 3 years ago

Issue resolved

Epix Gen 2 using resources for 280x280 instead of 416x416

I use custom fonts for my watch face, where different size fonts are used for different screen sizes. The fonts are assigned with resource folders with my own names, e.g., resources-fonts_280 and resources-fonts_416. 

The epix 2 is using resources for 280x280 instead of 416x416. I confirmed this in the simulator by commenting out lines in the fonts.xml file in resources-fonts_280 and looking for errors. I also confirmed it by reassigning 280x280 devices to use resources_fonts-416.

The epix 2 uses the 280 fonts with these lines (416 resources are ignored):
round-280x280.resourcePath = $(round-280x280.resourcePath);resources-fonts_280
round-416x416.resourcePath = $(round-416x416.resourcePath);resources-fonts_416
It uses the 416 fonts with this:
round-280x280.resourcePath = $(round-280x280.resourcePath);resources-fonts_416
round-416x416.resourcePath = $(round-416x416.resourcePath);resources-fonts_416

Other 416x416 devices such as the Venu 2 work fine, they use the 416 resources in both of the above scenarios.

The same issue occurs when using appropriately named resource folders without statements in the jungle file. The epix 2 uses resources stored in resources-round-280x280, not resources-round-416x416.

At first I thought this was an issue only in the simulator. But it doesn't seem that way. A user posted a review saying "the data is displayed too small on the Epix 2". I'm not able to follow up with them because it's a review and they might not see my reply. I also do not have an actual epix 2 device to test it on, so I don't know for certain if it's a bug there too or not. But it sounds like it probably is. They left 4 stars instead of 5 because of this issue :/

Here are my specs:

VS Code 1.66.2

Monkey C extension 1.0.4

Connect IQ SDK 4.1.2

MacOS Monterey 12.0.1

Parents
  • the app is set up for 83 devices and 13 languages. Here are the contents of my project folder:

    Here is an expanded view of the resource directories for 416 and 280:

    When I test the epix Gen 2 (round-416x416), the wrong fonts are displayed. Through some trial and error, I figured out that these were coming from the round-280x280 folder:

    I remembered encountering a similar issue a few months ago with the Venu 2 (also 416x416) using resources for 390x390. I was traveling at the time and did not follow up:
    https://forums.garmin.com/developer/connect-iq/i/bug-reports/venu2-follows-venu-resource-path-in-simulator

    The size difference between 416 and 390 is less noticeable for the user compared to 416 and 280. At the time I posted that issue, the Venu 2 was the only 416x416 watch, and now there are more. I also switched from eclipse to VS Code, and the SDK is a newer version. Yet the problem persists. I just tested the other 416 devices and came up with interesting results:


    d2Air X10 (416) -- using 390
    Venu 2 (416) -- using 390
    Venu 2 Plus (416) -- using 360 (also: white looks pale pink in the simulator)
    epix 2 (416) -- using 280

    d2Air (390) -- using 390
    Venu (390) -- using 390

    Per the previous post, I will go ahead and email my project to [email protected].

Comment
  • the app is set up for 83 devices and 13 languages. Here are the contents of my project folder:

    Here is an expanded view of the resource directories for 416 and 280:

    When I test the epix Gen 2 (round-416x416), the wrong fonts are displayed. Through some trial and error, I figured out that these were coming from the round-280x280 folder:

    I remembered encountering a similar issue a few months ago with the Venu 2 (also 416x416) using resources for 390x390. I was traveling at the time and did not follow up:
    https://forums.garmin.com/developer/connect-iq/i/bug-reports/venu2-follows-venu-resource-path-in-simulator

    The size difference between 416 and 390 is less noticeable for the user compared to 416 and 280. At the time I posted that issue, the Venu 2 was the only 416x416 watch, and now there are more. I also switched from eclipse to VS Code, and the SDK is a newer version. Yet the problem persists. I just tested the other 416 devices and came up with interesting results:


    d2Air X10 (416) -- using 390
    Venu 2 (416) -- using 390
    Venu 2 Plus (416) -- using 360 (also: white looks pale pink in the simulator)
    epix 2 (416) -- using 280

    d2Air (390) -- using 390
    Venu (390) -- using 390

    Per the previous post, I will go ahead and email my project to [email protected].

Children
No Data