diff options
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; |