FontSize relative to Window Size

added a fontSize() method in main.lua