Add code to detect the OS and set font size accordingly