try to fix xl

This commit is contained in:
honzapatCZ 2024-10-21 21:36:51 +02:00
parent 538537f2a7
commit d585a7c421

View File

@ -10,7 +10,7 @@ public class FakeGraphicsEngine : IXLGraphicEngine
{ {
private static double PointsToPixels(double points, double dpi) 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) public double GetDescent(IXLFontBase font, double dpiY)
{ {