ChiperSoft/Kalendae — pull request #33 by tagliala (2012-04-15 13:49:34+00:00)
Title: Fixed unicode nav buttons

Dear all,

We are using Kalende for a web app and we noticed that the month/year buttons have issues with a lot of browsers on non-mac OSs.

(iPhone 4s should be affected too. I can't confirm at 100%.)

The bug happens 'cause the symbols chosen to represent the "arrows", \276E and \276F, are not available everywhere and the letter-spacing css3 property used to bring double arrows together hasn't the same behaviour on each browser.

This pull request changes \276E in \2039 and \276F in \203A for month navigation, uses the double version of those character without forcing letter-spacing property for year navigation, changes font-family to arial and makes some little adjustments.

Here you can see the differences:

Windows before:
http://img407.imageshack.us/img407/82/kalendaewindowsbefore.png

Windows after:
http://img217.imageshack.us/img217/6995/kalendaewindowsafter.png

Chrome @ Ubuntu 11.10 before and after
http://img714.imageshack.us/img714/9056/107chromescreenshot2012.png

...and how about Mac?

Well, the new "arrows" are uglier and smaller than the older ones, but imho they are acceptable:

http://img59.imageshack.us/img59/2866/107safariscreenshot2012.png
http://img88.imageshack.us/img88/9976/chromeubuntu1110.png

(Don't try Helvetica 'cause \2039 and \203A are rendered like < and >)

Hope it helps

GT