Blender Git Loki

Git Commits -> Revision 9bbb197

Revision 9bbb197 by Brecht Van Lommel (master)
July 17, 2017, 16:31 (GMT)
Work around small DPI resulting in blurry fonts, clamping auto DPI to minimum 96.

Since we added auto DPI on Linux, on some systems the UI draws smaller than before
due to the monitor reporting DPI values like 88. Blender font drawing gives quite
blurry results for such slightly smaller DPI, apparently because the builtin font
isn't really designed for such small font sizes. As a workaround this clamps the
auto DPI to minimum 96, since the main case we are interested in supporting is
high DPI displays anyway.

Differential Revision: https://developer.blender.org/D2740

Commit Details:

Full Hash: 9bbb197d146d87c053d39a0dfdd9db4cffc53c61
Parent Commit: d268cad
Lines Changed: +13, -2

2 Modified Paths:

/source/blender/makesrna/intern/rna_userdef.c (+8, -2) (Diff)
/source/blender/windowmanager/intern/wm_window.c (+5, -0) (Diff)
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021