JRE-205 Font is wrong and without anti aliasing in 2017.1 EAP

Minor refactoring

(cherry picked from commit 9ba320e)
2 files changed