diff options
author | Graeme Geldenhuys <graeme@mastermaths.co.za> | 2011-07-24 10:09:55 +0200 |
---|---|---|
committer | Graeme Geldenhuys <graeme@mastermaths.co.za> | 2011-07-24 10:09:55 +0200 |
commit | d53a0d9bc12160e4124c1f9d5a7b1a2b3e7a218a (patch) | |
tree | 2c0bdc562ed62d296105c8b955fa65f27a6c37ee /docview/components | |
parent | eb764f92768f38b44e919b3204a03df935be7da6 (diff) | |
download | fpGUI-d53a0d9bc12160e4124c1f9d5a7b1a2b3e7a218a.tar.xz |
docview: bug fix where font description had two fontsize values defined.
Diffstat (limited to 'docview/components')
-rw-r--r-- | docview/components/richtext/CanvasFontManager.pas | 2 |
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; |