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

Change to non-monospace font for time display #135

Closed Jendker closed 5 years ago

Jendker commented 5 years ago

Is there any way to remove the monospace font and switch to normal one? Because if we have e.g. 11 it looks quite bad. Ohne Titel

I tried playing a bit with the code, but I am having problems to go around the issues with signing the app as I don't know much about MacOS development...

I would be very happy if we could change somehow the font, so that the time would be more pleasant to read! I have seen in the commits there was already an approach to disable monospace font, when the seconds are not displayed, but right now for some reason, monospace is always used.

sfsam commented 5 years ago

Signing issues can be a pain, but yes, you can change your version of the app to use proportional fonts. I think you can just comment out the 3 lines starting here: https://github.com/sfsam/Itsycal/blob/cec89a11d864589f8aea68ede161caec88ef6ebc/Itsycal/ViewController.m#L389

For now, I'm leaving it this way in the app though.

sfsam commented 5 years ago

Hmm, maybe you can just turn off code signing since this is just a build for yourself.

Jendker commented 5 years ago

Thank you for your time, that solved it. The time looks much better now!

I somehow managed to change the code signing after creating Apple developer ID.