PrivateFontOptions

PrivateFontOptions

is an option for selections that specifies settings for various font suboptions.

Details

  • The typical usage is PrivateFontOptions->{opt1->val1,opt2->val2,}.
  • The following suboptions can be specified:
  • "FontPostScriptName"Automaticthe name of the closest equivalent PostScript font for a given Wolfram System font
    "OperatorSubstitution"Truewhether a certain set of characters should be automatically replaced by equivalent Wolfram System characters when entered
    "WindowsUseTrueTypeNames"Truewhether a predefined set of font replacement rules are applied (Windows only)
  • In the Wolfram System, each characteristic of a font is specified by a separate option such as FontFamily, FontWeight, or FontSlant. At the time of printing, this information is used to select the closest equivalent PostScript font (e.g. "Times-BoldItalic"). Occasionally, the selected font may be different from the one you intended, due to the lack of a uniform naming convention for PostScript fonts. In such cases you can explicitly specify the name of the font to be used.
  • With the default setting "FontPostScriptName" -> Automatic, the Wolfram System automatically chooses an appropriate PostScript font.
  • With the default setting "OperatorSubstitution" -> True, special characters such as {, (, or [ are replaced by the equivalent characters in a special Wolfram System font. This allows, for example, spanning characters to change size when the expression containing them grows larger.
  • With the setting "OperatorSubstitution" -> False, such characters are not replaced by equivalent Wolfram Language characters. In this case, spanning characters cannot change size automatically.
  • With the default setting "WindowsUseTrueTypeNames" -> True, the fonts Courier, Helvetica, and Times are automatically replaced by the fonts Courier New, Arial, and Times Roman.
  • With the setting "WindowsUseTrueTypeNames" -> False, these font substitutions are not made.
  • "WindowsUseTrueTypeNames" is similar to the global option FontSubstitutions. With FontSubstitutions, the font substitution takes place only if the original font is not available on the system. With "WindowsUseTrueTypeNames" -> True, the font substitution takes place unconditionally, whether or not the original font is available.

Examples

Basic Examples  (1)

Use "OperatorSubstitution" to control whether Wolfram fonts are used for ASCII operators:

In[1]:=
Click for copyable input
Out[1]=

See Also

Font  FontSubstitutions

Introduced in 1996
(3.0)