summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGraeme Geldenhuys <graeme@mastermaths.co.za>2011-07-26 13:50:23 +0200
committerGraeme Geldenhuys <graeme@mastermaths.co.za>2011-07-26 13:50:23 +0200
commitc5dd377445cdd5cc1b56c8c6d950d692572c885e (patch)
tree387925306dc5cd7a62ef549221b88c457a9d6445
parent35a259ab5cb4fc500755488d5538cea6098b6374 (diff)
downloadfpGUI-c5dd377445cdd5cc1b56c8c6d950d692572c885e.tar.xz
docview: bug fix in font substitutions.
I defined a incorrect default font value. The Fixed Font Substitutes are supposed to reference the fonts as defined in the IPF file, which will then get substituted with the user's selected fixed font.
-rw-r--r--docview/src/SettingsUnit.pas4
1 files changed, 2 insertions, 2 deletions
diff --git a/docview/src/SettingsUnit.pas b/docview/src/SettingsUnit.pas
index 6b49aee1..43083709 100644
--- a/docview/src/SettingsUnit.pas
+++ b/docview/src/SettingsUnit.pas
@@ -84,7 +84,7 @@ type
FixedFontDesc: TfpgString;
Fonts: array[ 0..NumFontSettings - 1 ] of TfpgFont;
FixedFontSubstitution: boolean;
- FixedFontSubstitutes: string;
+ FixedFontSubstitutes: string; // semi-colon seperated list of INF fonts eg: 'Courier 10x12;Mono 8x10'
IndexStyle: TIndexStyle;
SmoothScrolling: boolean;
UseOriginalDialogs: boolean;
@@ -223,7 +223,7 @@ begin
end;
FixedFontSubstitution := ReadBool( FontsSection, 'FixedFontSubstitution', true );
- FixedFontSubstitutes := ReadString( FontsSection, 'FixedFontSubstitutes', DefaultTopicFixedFont );
+ FixedFontSubstitutes := ReadString( FontsSection, 'FixedFontSubstitutes', 'Courier 18x12' );
// Index style
SettingString := ReadString( GeneralSection, 'IndexStyle', 'Full' );