Acknowledged

SDK 4.2.0 Resources Fonts Default Not Working for Certain Devices

In SDK 4.1.7, I am using the default resources directory for 240x240 custom fonts. When I switch to SDK 4.2.0 Beta 2, one of the fonts is not read properly unless I use a dedicated resource folder, e.g., resources-round-240x240.

  • The font files have different names and are assigned to the same font object in the XML, so the same command can be used to load the appropriate file in View.mc.

  • There is a new asset caching feature in 4.2.0 that might be causing your problem. Are you replacing the font files with new versions with the same name? I'll pass this along as an issue. In the meantime you may be able to get your fonts updated by clearing your bin folder or the gen folder inside the bin folder that stores the cached assets. 

  • Using Mac OS Ventura 13.0.1 with VS Code 1.75.0.

  • I just experienced a similar issue in the simulator for 390x390 devices. With SDK 4.2.0 Beta 2, I tested a custom font with bitmap icons, and it appeared that the simulator was pulling from an earlier version of the font file, even though I rebuilt the project. When I switched to SDK 4.1.7, it was fine, pulling from the existing font file, didn't even have to rebuild.