x_inch,y_inch

[TRMW]
x_inch=72
y_inch=72

DP4 stores font sizes using points (there are 72 points to an inch). In theory this should mean that DP4 scales font sizes correctly when an application is displayed on a higher resolution screen. In practice this may not be the case, because Windows fails to adjust the reported d.p.i (dots per inch) metric when the screen resolution is changed. Also map and control sizes are not stored in points but relative to the x_factor and y_factor size. For either or both of these reasons it may be desirable to scale the fonts used by a DP4 application. This can be done using the x_inch and y_inch settings.

Decreasing this value increases the size of fonts. For instance suppose you have an application that was originally designed to run full screen on a 640*480 resolution screen (using small fonts in the Display Settings), and now want to run full screen at 800*600 still using Small Fonts. One way to achieve this would be as follows:

In the [trmw] or [progname] section set:
x_factor=10 ; was 8 on VGA
y_factor=20 ; was 16 on VGA
x_inch=58 ;(integer value nearest 72*8/10)
y_inch=58 ;(integer value nearest 72*16/20)

This will increase the size of all the fonts in your application by 72/58, except for the following fonts:

If your application originally used the system font as its default font you would need to change it to use a font such as 11 or 12 point Verdana.