Skip to main content

When you save the screenset how does it know what STYLENAME to use?

  • February 15, 2013
  • 0 replies
  • 0 views

Problem:

When you save the screenset how does it know what STYLENAME to use?

Resolution:

If you specify a font side file and save a screenset, the characteristics of each defined style are saved in a text file with a .dft extension whenever the screenset is saved. The screenset can contain fonts defined in more than one environment. In this case entries are generated for each environment. If the file already exists, the styles are appended.

For example, if you use a style name of "Heading1" to represent a typeface of Helvetica (Helv under Windows) bold 12 points, Dialog System saves the following definition in the .dft file:

[WINDOWS]

FONT-RECORD

    STYLENAME Heading1

    ATTRIBUTES BITMAPPED, PROPORTIONAL

    POINTSIZE 12

    TYPEFACE "Helv"

END-RECORD

Old KB# 6570

0 replies

Be the first to reply!