What's inherited on .DF


Question

It appears that some of the attributes on .DF are inherited when a new font is started. Which ones are inherited?

Answer

  This question frequently comes in disguised as:

  How come I get an error about codepage not matching font when I switch from
  a proportional to a monospaced font?

  You were probably in codepage T1GI0395 with a proportional font then
  switched to a monospaced font and did not explicitly switch codepages.

  Script is warning you that you have a character in your codepage that is
  not in the character set.

  When using the TYPE parameter on .DF, everything is inherited except width,
  weight, attribute and color.

  You can ignore the message and live with PSF error messages or you can
  explicitly add the CODEPAGE paramater to your .DF.

  The codepage for your new font is inherited from the previous one.  The PSF
  compat fonts are for 3800-1 compatability and their character sets do not
  contain many of the characters called for by codepage T1GI0395. Specify
  T1D0BASE for the PSF compats.

  The keywords OLDWID, OLDWEIGHT, OLDATTR and OLDCOLOR allow you to inherit
  the attributes which are not usually inherited.

Last updated: 93/08/24 16:31:47

Previous Contents Next