There are two rare-but-not-unheard-of cases where three characters need to be displayed for the temperature:
Over-100-degree heat (Fahrenheit)
Under-10-degree cold (minus and two digits)
There's also an extremely rare case where four characters would need to be displayed: under-100-degree cold (Fahrenheit in Antarctica).
I want to be able to handle each of these cases, so I'll want to add case similar to how 24-hour handling works that changes the font size and position of the temperature display when there are three digits.
For the record-cold-day-in-Antarctica case, I intend to handle that as well, by flipping the sign of the temperature, then manually drawing a tiny hyphen left of the three-digit number (I'm not too concerned about readability of the hyphen: in the scenario where it applies, I doubt there'd be any confusion).
There are two rare-but-not-unheard-of cases where three characters need to be displayed for the temperature:
There's also an extremely rare case where four characters would need to be displayed: under-100-degree cold (Fahrenheit in Antarctica).
I want to be able to handle each of these cases, so I'll want to add case similar to how 24-hour handling works that changes the font size and position of the temperature display when there are three digits.
For the record-cold-day-in-Antarctica case, I intend to handle that as well, by flipping the sign of the temperature, then manually drawing a tiny hyphen left of the three-digit number (I'm not too concerned about readability of the hyphen: in the scenario where it applies, I doubt there'd be any confusion).