DMDX Help.


Default Font Size Keyword

<DefaultFontSize N>
<dfs N>


    Switch and parameter to override the default font point size derived from the first font spec. found in the RTF item file.  The mechanisms involved with <DefaultFontSize> originated with earlier versions of DMastr that did not use RTF item files and had no other way of specifying font sizes.  With the advent of DMDX and it's RTF item file format the old font size specifications became rather difficult to implement because any use of font sizes in the RTF had to override the older mechanisms (otherwise why bother with an RTF file?)  So this is more of a legacy feature of DMDX than anything else, these days using the <DefaultFontMultipliers> is a much easier mechanism to use.

    There are several ways to change the displayed size of a font:
    The first option is WYSIWYG, change the font point size in the item file and it will change on the display, nice but if you are using really small or really big fonts this gets tedious to edit.
    Second option is to leave the font a comfortable size for viewing in the item file and override the point size with
<DefaultFontSize>. If all your text is not the same size you can override the default size by using the WYSIWYG features, less than optimal as WYS won't be WYG and you are limited to integer font sizes and conventional aspect ratios.
    Third option is to multiply the font size with
<DefaultFontMultipliers> and if all your text is not the same size multiply the size in individual frames with <FontMultipliers> or combine option one with this one and change the font point size in the item file in individual frames as the default font multipliers don't override font size, they multiply it. Additionally using these last two keywords you can synthesize unusual aspect ratio fonts.




DMDX Index.