From da0c3f399ea6acf3e175177e1cb37b31f707c473 Mon Sep 17 00:00:00 2001 From: Tor Lillqvist Date: Fri, 23 Nov 2018 17:36:33 +0200 Subject: Use the correct DPI scaling factor in LibreOfficeKit for iOS, too Fixes the rendering of spreadsheets in the iOS app. (The cell area was rendered at half the scale of the row and column headers.) Actual code change only in desktop/source/lib/init.cxx, but update related comments elsewhere to mention CoreGraphics, too, and not just cairo. Change-Id: Ife99c6a2d58e592cfea3b4ed1ab09c19fba77e72 (cherry picked from commit 3ace447b0fe1926945f739479a7be39276e81fb5) Reviewed-on: https://gerrit.libreoffice.org/63919 Tested-by: Jenkins Reviewed-by: Tor Lillqvist --- comphelper/source/misc/lok.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'comphelper') diff --git a/comphelper/source/misc/lok.cxx b/comphelper/source/misc/lok.cxx index 5934ed58c297..e5f3573cb391 100644 --- a/comphelper/source/misc/lok.cxx +++ b/comphelper/source/misc/lok.cxx @@ -38,7 +38,7 @@ static bool g_bLocalRendering(false); static LanguageTag g_aLanguageTag("en-US", true); -/// Scaling of the cairo canvas painting for hi-dpi or zooming in Calc. +/// Scaling of the cairo or CoreGraphics canvas painting for hi-dpi or zooming in Calc. static double g_fDPIScale(1.0); void setActive(bool bActive) -- cgit