summaryrefslogtreecommitdiff
path: root/src/corelib/render/software/Agg2D.pas
diff options
context:
space:
mode:
Diffstat (limited to 'src/corelib/render/software/Agg2D.pas')
-rw-r--r--src/corelib/render/software/Agg2D.pas2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/corelib/render/software/Agg2D.pas b/src/corelib/render/software/Agg2D.pas
index 13860ffd..84bb2351 100644
--- a/src/corelib/render/software/Agg2D.pas
+++ b/src/corelib/render/software/Agg2D.pas
@@ -3570,7 +3570,7 @@ begin
fnt := FontCacheItemFromFontDesc(TfpgFontResource(fntres).FontDesc, lSize);
i := gFontCache.Find(fnt);
if i > 0 then
- Font(gFontCache.Items[i].FileName, lSize, fnt.IsBold, fnt.IsItalic);
+ Font(gFontCache.Items[i].FileName, lSize, fnt.IsBold, fnt.IsItalic, AGG_VectorFontCache, Deg2Rad(fnt.Angle));
end;
{$ENDIF}