summaryrefslogtreecommitdiff
path: root/docview
diff options
context:
space:
mode:
authorGraeme Geldenhuys <graeme@mastermaths.co.za>2011-07-24 10:09:55 +0200
committerGraeme Geldenhuys <graeme@mastermaths.co.za>2011-07-24 10:09:55 +0200
commitd53a0d9bc12160e4124c1f9d5a7b1a2b3e7a218a (patch)
tree2c0bdc562ed62d296105c8b955fa65f27a6c37ee /docview
parenteb764f92768f38b44e919b3204a03df935be7da6 (diff)
downloadfpGUI-d53a0d9bc12160e4124c1f9d5a7b1a2b3e7a218a.tar.xz
docview: bug fix where font description had two fontsize values defined.
Diffstat (limited to 'docview')
-rw-r--r--docview/components/richtext/CanvasFontManager.pas2
1 files changed, 1 insertions, 1 deletions
diff --git a/docview/components/richtext/CanvasFontManager.pas b/docview/components/richtext/CanvasFontManager.pas
index 98079c36..fda0415d 100644
--- a/docview/components/richtext/CanvasFontManager.pas
+++ b/docview/components/richtext/CanvasFontManager.pas
@@ -232,7 +232,7 @@ begin
inherited Create;
FCanvas := ACanvas;
FWidget := AWidget;
- FDefaultFont := fpgGetFont(Format('%s-%d', [DefaultTopicFont, DefaultTopicFontSize]));
+ FDefaultFont := fpgGetFont(DefaultTopicFont);
FCanvas.Font := FDefaultFont;
end;