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:

Wolfram Research (1996), PrivateFontOptions, Wolfram Language function, https://reference.wolfram.com/language/ref/PrivateFontOptions.html.

Text

Wolfram Research (1996), PrivateFontOptions, Wolfram Language function, https://reference.wolfram.com/language/ref/PrivateFontOptions.html.

CMS

Wolfram Language. 1996. "PrivateFontOptions." Wolfram Language & System Documentation Center. Wolfram Research. https://reference.wolfram.com/language/ref/PrivateFontOptions.html.

APA

Wolfram Language. (1996). PrivateFontOptions. Wolfram Language & System Documentation Center. Retrieved from https://reference.wolfram.com/language/ref/PrivateFontOptions.html

BibTeX

@misc{reference.wolfram_2024_privatefontoptions, author="Wolfram Research", title="{PrivateFontOptions}", year="1996", howpublished="\url{https://reference.wolfram.com/language/ref/PrivateFontOptions.html}", note=[Accessed: 22-November-2024 ]}

BibLaTeX

@online{reference.wolfram_2024_privatefontoptions, organization={Wolfram Research}, title={PrivateFontOptions}, year={1996}, url={https://reference.wolfram.com/language/ref/PrivateFontOptions.html}, note=[Accessed: 22-November-2024 ]}