fixed #1712: Adding default dpi for marmalade and mac since i don't know how to get DPI for these platforms.