Are docs wrong or is simulator wrong? Font constants.

Hi,

According to docs, G.FONT_SYSTEM_NUMBER_* were introduced with 1.3.0 but Simulator is returning true for G has :FONT_SYSTEM_NUMBER_THAI_HOT when testing with Epix.

Is that a bug with docs or with simulator?

G

  • The sim with the epix has a whole bunch of issues, as it hasn't been updated since CIQ 1.2 (late 2015/early 2016), and by default has some 1.3/1.4 "features" that might not work on the real device.

    The whole FONT_SYSTEM_* thing is from something that never happened.  The plan at one time, was that the FONT_SYSTEM versions of fonts were to be device specific while the FONT_* were to be a common CIQ font.  You'll find that the FONT_SYSTEM version of something is the same non system version of the same font, and is there for backward compatibility.

  • So is best practice to use FONT_ or FONT_SYSTEM_ ?

    I mean, practically, at the moment, it doesn't really matter (apart from Epix) but...

    Is there any reason not to use FONT_ for everything?

  • I use FONT_* for everything, but I might have a could things where I'd used FONT_SYSTEM when they were planned to be different.

    With the Epix, unless you have one, it's not that easy to test, but I really doubt there are many Epix devices still in use with CIQ.  It's been years since I've heard from an Epix user.

  • Yep, there are definitely still some CIQ 1 in active use as I have sales on 5 out of 10 CIQ1 devices that support apps, but not Epix.

  • The fr23x and f3 are still out there and being used.  The Epix never struck me as popular, and when they stopped doing FW update for it (still CIQ 1.2) it pretty much vanished.

  • You still see quite a few fr920 in the wilds of Triathlon, and somebody out there uses his or her one for HIIT workouts. ;) 

  • This is a long-standing simulator issue. We didn't really have a good way of tagging enum values to prevent the simulator from making them available on older devices like this at the time and we haven't gone back to fix it.

  • I just checked my device usage logs just to get an idea how many Epix users I have. I start a week on Sunday morning.  So far this week I have 7 unique Epix users out of nearly 11,000 unique devices using my widget.  So yes, the Epix are rare but they do exist.