From 4.616 it is possible to specify the "default font" in a more user friendly and portable way. The default font is either one of the built in fonts such as the system font or a user specified font. You choose one of the built in fonts by selecting one of types A to E in USERDATA. You can select a custom font by specifying a font name and size in the DP4 configuration file (in the [trmw] or [progname] sections). The fontname is specified with a string such as font="MS Sans Serif". In previous releases the size of the font had to be specified by specifying the font height, and optionally width, in pixels (fh=16 for example). From release 4.616 you can specify a point size instead (pointsize=10). This is slightly more portable in theory, in that the font size should be constant whatever the resolution of the screen. In practice point sizes on screen are unreliable as changing the resolution does not normally change the reported number of pixels per inch on which a point size calculation has to be based. However it will give you a way of specifying a font in a way consistent with other applications. If pointsize is specified fh and fw settings are ignored. From 4.620 the USERDATA program allows you to choose a font from the available Windows fonts and writes the information into the DP4 configuration file automatically. Source code is also available from the DP4 user group site showing how a program can discover and set its default font.
It is possible to force a particular default font on a per application basis. This is done by setting forcefont=1 in the [progname] section of the DP4 configuration file. (If you set forcefont=1 in the [trmw] section it has the effect of completely overriding the USERDATA.SYS font setting). forcefont=1 was advertised in release 4.614 but did not actually work. With that release you actually had to set forcefont=99. You can also force one of the built in fonts. For example forcefont=13 forces the system font. (The values to use for built in fonts are taken from the numeric values of the appropriate constants for GetStockObject())
If you choose a userdata type F font or use forcefont=1, then you should now specify a value either for pointsize or fh as well as font=fontname. The technique of letting Windows choose the font size for you will prevent the new DFPRINT program from working properly. You may also specify values for weight, charset, and, if you used fh rather than pointsize, fw
From 4.616 the API used to select the default font has altered slightly. This has been done to ensure maximum WYSIWYG behaviour of the new DFPRINT print program. This will have no effect unless you specified a default font that could not be created exactly as requested. If you did specify a font like this you may find the font size or appearance is different - it will now more closely match what you have asked for. If this is not actually what you wanted then you would need to change your DP4 configuration file settings.