TAChart: Fix font scaling of CanvasDrawer.

git-svn-id: branches/fixes_2_0@60376 -
This commit is contained in:
mattias 2019-02-09 08:44:46 +00:00
parent 35469e962b
commit e24077d44b

View File

@ -377,7 +377,9 @@ begin
if FMonochromeColor <> clTAColor then if FMonochromeColor <> clTAColor then
Color := FMonochromeColor; Color := FMonochromeColor;
if scaleFont in FScaleItems then if scaleFont in FScaleItems then
Size := Scale(IfThen(Size = 0, DEFAULT_FONT_SIZE, Size)); Size := Scale(GetFontSize)
else
Size := GetFontSize;
end; end;
end; end;