Fix T51889: new file or load factory settings results in broken UI.
authorBrecht Van Lommel <brechtvanlommel@gmail.com>
Fri, 7 Jul 2017 22:44:31 +0000 (00:44 +0200)
committerBrecht Van Lommel <brechtvanlommel@gmail.com>
Fri, 7 Jul 2017 22:54:05 +0000 (00:54 +0200)
commit7dc3ad22873e08de11172757066bb2b3a27f7203
tree882ed23c0451f558f3b91c77359ca5fe4381eee8
parent1e217782617f3e57b989222995ce6b23e00e0eec
Fix T51889: new file or load factory settings results in broken UI.

Fix some cases that still assumed there to be a global DPI, instead of a per
window DPI that needs to be set before reading U.dpi.
source/blender/blenfont/BLF_api.h
source/blender/blenfont/intern/blf.c
source/blender/blenkernel/BKE_blender.h
source/blender/blenkernel/intern/blender.c
source/blender/editors/screen/screen_edit.c
source/blender/windowmanager/WM_api.h
source/blender/windowmanager/intern/wm_files.c
source/blender/windowmanager/intern/wm_init_exit.c
source/blender/windowmanager/intern/wm_window.c
source/gameengine/GamePlayer/ghost/GPG_ghost.cpp