From cda87c94d9b04b4515404b7fbd18df9f3567c15b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Caol=C3=A1n=20McNamara?= Date: Tue, 6 May 2014 12:35:12 +0100 Subject: [PATCH] adjust for 4.2 --- 0001-Resolves-fdo-78128-go-back-to-using-an-interim-metaf.patch | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/0001-Resolves-fdo-78128-go-back-to-using-an-interim-metaf.patch b/0001-Resolves-fdo-78128-go-back-to-using-an-interim-metaf.patch index fc700ec..8a22d0a 100644 --- a/0001-Resolves-fdo-78128-go-back-to-using-an-interim-metaf.patch +++ b/0001-Resolves-fdo-78128-go-back-to-using-an-interim-metaf.patch @@ -80,7 +80,7 @@ index c9c7e42..6bc53e8 100644 + //Move the scaled page down to center it + //the other variant of Move does not map pixels + //back to the logical units correctly -+ pMetaFile->Move(0, convertTwipToMm100(nShiftY), pOutDev->GetDPIX(), pOutDev->GetDPIY()); ++ pMetaFile->Move(0, TWIP_TO_MM100(nShiftY), pOutDev->ImplGetDPIX(), pOutDev->ImplGetDPIY()); + pMetaFile->WindStart(); + + //play back the scaled page