Fixed improper text DPI calculation.