tdf#106990 set cleartype setting / force to use GDI render mode
commita5a3e82e99e7a60ec65c339dd0463af5c680cead
authorTomaž Vajngerl <tomaz.vajngerl@collabora.co.uk>
Mon, 3 Jul 2017 13:00:21 +0000 (3 15:00 +0200)
committerMichael Meeks <michael.meeks@collabora.com>
Thu, 6 Jul 2017 11:13:55 +0000 (6 13:13 +0200)
treea86c6f0acc5beb4093e9517ae25f06752c6feb13
parent073a2b2aef5c0b579aea8ed203dd9c1c5790b650
tdf#106990 set cleartype setting / force to use GDI render mode

With this we read the system setting for cleartype and set it to
the render target we are using.

Additionally we set the GDI like rendering mode which forces that
the text is rendered similar as this was done with GDI.

Change-Id: If6fb72bc371accf50278c968c94e625aee3f0953
Reviewed-on: https://gerrit.libreoffice.org/39602
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Michael Meeks <michael.meeks@collabora.com>
vcl/inc/win/winlayout.hxx
vcl/win/gdi/winlayout.cxx