summaryrefslogtreecommitdiffstatshomepage
path: root/docs
diff options
context:
space:
mode:
authorGravatarGravatar Aaron Giles <aaron@aarongiles.com>2010-10-24 00:16:54 +0000
committerGravatarGravatar Aaron Giles <aaron@aarongiles.com>2010-10-24 00:16:54 +0000
commit59559fe28278ed77ac11f3471520f210647a191f (patch)
treec8f870edb75a82a50d36cd8527e3a4a0acad1d72 /docs
parent1b872c9b0bb2a2d0f202e8414f668e6331c5bd9c (diff)
Added support for OSD-generated fonts. The OSD is queried first to see
if it owns a given font (based on the name), and if it does, it is responsible for generating bitmaps on the fly as characters are requested. Added new option -uifont to specify the UI font. It can be set to a filename, in which case a BDF font will be loaded. It can also be set to a font name (assuming the OSD support is present), in which case the OSD font by that name is used. The default value is 'default' which can be used by the OSD to substitute a default font or by the OSD, which will default to ui.bdf as before. In all cases, it falls back to the built-in font by default if none of the previous options works. On Windows, the OSD will default to Tahoma as the font name. Also on Windows, font names can be specified with [b] to indicate bold or [i] to indicate italic.
Diffstat (limited to 'docs')
-rw-r--r--docs/config.txt8
1 files changed, 8 insertions, 0 deletions
diff --git a/docs/config.txt b/docs/config.txt
index 658cc82e5e5..fc3acc532cc 100644
--- a/docs/config.txt
+++ b/docs/config.txt
@@ -1004,3 +1004,11 @@ Core misc options
Forces MAME to skip displaying the game info screen. The default is
OFF (-noskip_gameinfo).
+
+-uifont <fontname>
+
+ Specifies the name of a BDF font file to use for the UI font. If this
+ font cannot be found or cannot be loaded, the system will fall back
+ to its built-in UI font. On some platforms 'fontname' can be a system
+ font name instead of a BDF font file. The default is 'default' (use
+ the OSD-determined default font).