fonts.ini 11.6 KB
Newer Older
1 2 3
; SyncTERM (CTerm) Loadable and Alternative Fonts Configuration
; (used by exec/load/fonts.js)

4
; $Id: fonts.ini,v 1.2 2019/01/01 14:33:57 rswindell Exp $
5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238

; ********************
; Character Dimensions
; ********************
; The supported font character/glyph heights are: 8, 14, or 16 pixels.
; The supported font character widths are always 8 pixels.

; These are standard IBM CGA/VGA text mode character dimensions.

; The utilized character height depends on the terminal's screen mode:
; 8h fonts are used for screen modes with 35 or more lines
; 14h fonts are used for screen modes with 28 and 34 lines
; 16h fonts are used for screen modes with 30 lines or fewer than 28 lines

; When a user's terminal has a 'status bar', the above lines are decremented by
; one but the character heights still apply (e.g. a 33 line terminal will use a
; 14h font).

; Since 80x25/24 is the most common BBS terminal mode, 8x16 fonts are the most
; commonly used/applicable.

; **********
; Font Slots
; **********

; The global section here is for associating names with font slot numbers.
; Synchronet uses the highest slot numbers for dynamically loading XBin/XBimage
; fonts - so do not assign or use slots 252 through 255.
; SyncTERM currently preserves slots 0-42 for hard-coded pre-defined fonts,
; so these slot are not available for BBS-loaded fonts and its possible that
; future versions of SyncTERM may have more hard-coded fonts. So the "safe"
; slot numbers to use for BBS-loaded fonts is the 100-250 range, which
; "should" be plenty.

; Hard-coded Fonts
; ----------------
; SyncTERM 1.0 has the following hard-coded fonts/slots
; (with the supported character heights commented at the end of each line).
; You probably don't need to change anything in this section.

cp437       =   0  - Codepage 437 English                               ;16,14,8
cp1251      =   1  - Codepage 1251 Cyrillic, (swiss)                    ;16
koi8-r      =   2  - Russian koi8-r                                     ;16,14,8
iso-8859-2  =   3  - ISO-8859-2 Central European                        ;16,14,8
balticwide  =   4  - ISO-8859-4 Baltic wide (VGA 9bit mapped)           ;16
cp886c      =   5  - Codepage 866 (c) Russian                           ;16
iso-8859-9  =   6  - ISO-8859-9 Turkish                                 ;16
kaik8       =   7  - haik8 codepage (use only with armscii8 screenmap)  ;16,14,8
iso-8859-8  =   8  - ISO-8859-8 Hebrew                                  ;16,14,8
koi8-u      =   9  - Ukrainian font koi8-u                              ;16,14,8
iso-8859-15 =   10 - ISO-8859-15 West European, (thin)                  ;16
baltic      =   11 - ISO-8859-4 Baltic (VGA 9bit mapped)                ;16,14,8
koi8-rb     =   12 - Russian koi8-r (b)                                 ;16
iso-8859-4w =   13 - ISO-8859-4 Baltic wide                             ;16
iso-8859-5  =   14 - ISO-8859-5 Cyrillic                                ;16,14,8
armscii-8   =   15 - ARMSCII-8 Character set                            ;16,14,8
iso-8859-15 =   16 - ISO-8859-15 West European                          ;16,14,8
cp850thin   =   17 - Codepage 850 Multilingual Latin I, (thin)          ;16,8
cp850       =   18 - Codepage 850 Multilingual Latin I                  ;16,14,8
cp885thin   =   19 - Codepage 885 Norwegian, (thin)                     ;16,8
cp1251      =   20 - Codepage 1251 Cyrillic                             ;16,14,8
iso-8859-7  =   21 - ISO-8859-7 Greek                                   ;16,14,8
koi8-rc     =   22 - Russian koi8-r (c)                                 ;16
iso-8859-4  =   23 - ISO-8859-4 Baltic                                  ;16,14,8
iso-8859-1  =   24 - ISO-8859-1 West European                           ;16,14,8
cp886       =   25 - Codepage 866 Russian                               ;16,14,8
cp437thin   =   26 - Codepage 437 English, (thin)                       ;16,8
cp886b      =   27 - Codepage 866 (b) Russian                           ;16  
cp885       =   28 - Codepage 885 Norwegian                             ;16,14,8
cp886u      =   29 - Ukrainian font cp866u                              ;16,14,8
iso-8859-1t =   30 - ISO-8859-1 West European, (thin)                   ;16
cp1131      =   31 - Codepage 1131 Belarusian, (swiss)                  ;16
c64upper    =   32 - Commodore 64 (UPPER)                               ;16,8
c64lower    =   33 - Commodore 64 (Lower)                               ;16,8
c128upper   =   34 - Commodore 128 (UPPER)                              ;16,8
c128lower   =   35 - Commodore 128 (Lower)                              ;16,8
atari       =   36 - Atari                                              ;16,8
potnoodle   =   37 - P0T NOoDLE (Amiga)                                 ;16,14
mosoul      =   38 - mO'sOul (Amiga)                                    ;16,8
microknight+=   39 - MicroKnight Plus (Amiga)                           ;16
topaz+      =   40 - Topaz Plus (Amiga)                                 ;16
microknight =   41 - MicroKnight (Amiga)                                ;16,14,8
topaz       =   42 - Topaz (Amiga)                                      ;16,14

; BBS-Loadable Fonts
; ------------------
; These font slot numbers (in the 100-250) range are available for BBS use.
;
; We are just naming the slot numbers here for later convenient reference.
; You could assign the same slot number to multiple fonts, but then you could
; not have more than one of those fonts "active" at the same time. There are
; plenty of available slot numbers, so we assign a unique slot for every
; loadable font, just in case you want more than one active simultaneously (and
; you probably will).
;
; A single font may have a version/file for more than one character height.
; The supported character heights are commented at the end of each line.
;
; Feel free to add more fonts to this section as you add/discover them.

antique     =   100 ;16,14
backward    =   101 ;16
bigserif    =   102 ;16
block       =   103 ;16
bold        =   104 ;16,14,8
broadway    =   105 ;16
computer    =   106 ;16,14
courier     =   107 ;16,14
deco        =   108 ;16
digital     =   109 ;16
empty       =   110 ;16
eurotype    =   111 ;16
frankfurt   =   112 ;14
future      =   113 ;16
georgian    =   114 ;14
gothical    =   115 ;16
greek       =   116 ;16
hebrew      =   117 ;16
hearst      =   118 ;16,14
ice         =   119 ;16
inverted    =   120 ;16
italics     =   121 ;16
jasnew      =   122 ;16
lcd         =   123 ;16
lore        =   124 ;16
magic       =   125 ;16
medieval    =   126 ;16
modern      =   127 ;16
oldenglish  =   128 ;14
reverse     =   129 ;16
roman1      =   130 ;16
roman2      =   131 ;16
sans-serif  =   132 ;16
scott       =   133 ;16
scribble    =   134 ;16
script      =   135 ;16,14
smallcaps   =   136 ;14
strange     =   137 ;14
stretch     =   138 ;16
super       =   139 ;16
swiss       =   140 ;16
tekton      =   141 ;16
thin        =   142 ;16
tiny        =   143 ;8

; *****************
; Filename Sections
; *****************

; These filenames are only needed if the base filename does not match the name
; we assigned to the slot (above). So mostly, we don't need these sections
; so long as we just use names that match the base filenames of the font files.
;
; The Filename Section names are "filenames:<charheight>" where <charheight>
; is the relevant font character height, in pixels.

; Font files (in the Synchronet ctrl/fonts directory):
; 8x8 are in *.f8 files, 8x14 are in *.f14 files, and 8x16 are in *.f16 files.

[filenames:16]
lore=lorefont.f16

[filenames:14]
oldenglish=oldeng.f14

[filenames:8]

; ***********************
; Active Fonts and Styles
; ***********************

; 200+ fonts may be loaded into the terminal (SyncTERM) at any time, but only 4
; fonts may be "active" (visibly used) at any given time. Which of the fonts are
; visibly used for any particular text is determined by the combination of the
; character display attributes or styles:
;   1: normal
;   2: high-intensity (bright)
;   3: normal-blinking
;   4: high-intensity blinking
;
; These 4 styles are referred to later as normal, high, blink, and highblink.
;
; Since there are only 4 available styles, there are only 4 possible fonts at
; any given time. However, the BBS may change the font (slot) used for a
; particular text style at any time and the characters on the terminal screen
; which have been displayed in that style will change to use the new font,
; immediately. So the BBS may drastically affect the appearance of all the
; characters (text and "graphics") displayed on the remote terminal without
; re-sending any of those characters!

; ****************************
; Loading and Activating Fonts
; ****************************

; Within each Font Section, there are 2 types of 'key=value' assignments:
; Font Loads (data transfers) and Font Activations
;
; Font Loads use the form: '<slot>=<filename>'
;       where <slot> is either a font slot number or slot name (from above)
;       and <filename> is the name of a file from the BBS's fonts directory.
;       This syntax is used when you want to pre-load a font and not immediately
;       activate it; you probably don't need to use this syntax.
;
; Font Activations use the form: '<style>=<slot>'
;       where <style> is one of: 'normal', 'high', 'blink', or 'highblink'
;       (describes the attribute combination which will use the activated font)
;       and <slot> is either a font slot number or slot name (from above).
;       The font will be loaded (transferred to the terminal) if it has not
;       already been loaded at any time during this connection/session, so an
;       activation assignment implies: "load the font if it hasn't already".
;       With this scheme, fonts may be activated, deactivated, and reactivated
;       later without re-sending (loading into the terminal) the font data,
;       which can cause a noticeable pause.

; *************
; Font Sections
; *************

; Font Sections are named with the following form: '[<key>:<char>]'
; where <key> is a keyword used by the BBS to load and/or activate one or more
; fonts relevant to a particular use of the BBS (e.g. door game) and
; <char> is the character height, in pixels, which corresponds with the user's
; terminal screen length (see above descriptions, but 16 is most common).

; Default Sections
; ----------------
; The 'default' key/sections are used to define the set of fonts to be loaded
; and activated during logon or answer, if so configured, and potentially
; re-activated several times during a BBS user session/connection. The 'default'
; fonts will be re-activated when the BBS user returns from running an external
; program or loadable module that might have changed the active fonts.

[default:16]
normal=cp437
239
high=courier
240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284
blink=gothical
highblink=computer

[default:14]
normal=cp437
high=courier
blink=oldenglish
highblink=computer

[default:8]
normal=cp437
high=bold

; Door Sections
; -------------
; Each BBS external online program (e.g. door game) may have its own desired
; fonts and some programs may even have customized fonts made just for that
; game (e.g. LORE).
; 
; These sections are named with the form: '[xtrn:<code>:<char>]
; where <code> is the external program's Internal Code (as configured in SCFG)
; and <char> is the relevant character height.
;
; Note: you must utilize xtrn_sec.js rev 1.18 or later for this feature:

[xtrn:lore:16]
normal=lore
high=lore
blink=lore
highblink=lore

[xtrn:lord:16]
normal=lore

[xtrn:lord:14]
normal=oldenglish

; Other Sections
; --------------
; Any other BBS script or module may load and/or activate fonts referenced
; in this file (using "load('fonts'.js', 'modname')"). The author or
; documentation associated with those modules should instruct you of the section
; name to use to define the utilized fonts, when applicable.

; End of file