From 94b65e57e9c1f646a9c527dc636a39e24e71cb76 Mon Sep 17 00:00:00 2001 From: ondrej Date: Sun, 14 May 2017 15:25:16 +0000 Subject: [PATCH] lazcontrols: lvlgraphctrl: high-DPI. Issue #31781 git-svn-id: trunk@54929 - --- components/lazcontrols/lvlgraphctrl.pas | 1 + 1 file changed, 1 insertion(+) diff --git a/components/lazcontrols/lvlgraphctrl.pas b/components/lazcontrols/lvlgraphctrl.pas index e1c15a356d..4cd64aa9ae 100644 --- a/components/lazcontrols/lvlgraphctrl.pas +++ b/components/lazcontrols/lvlgraphctrl.pas @@ -2464,6 +2464,7 @@ begin inherited Paint; Canvas.Font.Assign(Font); + Canvas.Font.PixelsPerInch := Font.PixelsPerInch; Include(FFlags,lgcFocusedPainting);