From d585a7c42100dbd8d3b30fb122cdda81c14fca1d Mon Sep 17 00:00:00 2001 From: honzapatCZ Date: Mon, 21 Oct 2024 21:36:51 +0200 Subject: [PATCH] try to fix xl --- Utils/ClosedXMLSetup.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Utils/ClosedXMLSetup.cs b/Utils/ClosedXMLSetup.cs index 0caa736..9e7cbd0 100644 --- a/Utils/ClosedXMLSetup.cs +++ b/Utils/ClosedXMLSetup.cs @@ -10,7 +10,7 @@ public class FakeGraphicsEngine : IXLGraphicEngine { private static double PointsToPixels(double points, double dpi) { - return points / 72.0 * dpi; + return points / 72.0 * dpi / 10.0; } public double GetDescent(IXLFontBase font, double dpiY) {