DMDX Help.
Default Font Keyword
<DefaultFont text
[option]>
<df text [option]>
option:
fbonly
Switch and parameter to override the default font derived from the first font specification found in the RTF item file.
text must be the exact face name of a font used in the RTF file, spaces and all
(and that name cannot have quotes around it).
If the exact face name can't be found a list of the ones currently in use in the
item file will be emitted. As of version 5.3.2.2 of DMDX the
fbonly option will only change the font used for feedback and leave the
text of the item file alone. Between 02/28/24 when version 6.4.0.0 was
released and 01/01/26 when 6.3.1.15 was released if you tried to use this
keyword with the Unicode option in effect it would fail to find the font
(internally font names are stored as code page references and if you have a font
with a name using double byte characters that won't match the UTF-8 in item
files since 6.4.0.0 started converting all text to UTF-8 and not just quoted
text).
The default font is used for feedback unless
custom feedback has been used with
a different font from whatever the default font in the item file is. The
feedback font is also used for test mode
displays and zillion typed responses.
Determining exactly what font is the default font in an RTF file is a
little tricky, if you're using Word the default font is always Times New Roman
(even if you don't use it) so using <df> will
change all the Times New Roman characters in your item file whereas if you're
using Wordpad the default font is likely to be the first font that occurs in the
item file.
DMDX Index.