sfsam / Itsycal

Itsycal is a tiny calendar for your Mac's menu bar. http://www.mowglii.com/itsycal
MIT License
3.3k stars 235 forks source link

Day of month space between characters #122

Closed tomthurstan closed 5 years ago

tomthurstan commented 5 years ago

It looks like using the 'd' format generated day of month has an extra space in between the characters when compared to the native month. See same length line in image below (native on right).

image

sfsam commented 5 years ago

This is by design. Itsycal's typeface uses monospaced digits. You can see this with the "1" of the "19:36" above as well. The reason to use monospaced digits is because otherwise the clock display would subtly shift every minute (or every second if you display seconds). The system clock has a bunch of extra padding on each side and does custom drawing to avoid these shifts.

tomthurstan commented 5 years ago

Ah I see. That's interesting. Thanks for the explanation!

macbugs commented 2 years ago

Just for reference, this is a duplicate of https://github.com/sfsam/Itsycal/issues/52