I'm really concerned about those... as soon as we'll change the default font-size (which imho should be an accessibility option somewhere) this will break.

However I'm less than skilled about doing hi-dpi designs, therefore I think I'm probably not the best to review this in the end. But this code seems highly flawed to me :(