Dynamically scales DPI of TeX by area, fixes #75.