Returns a screen font suitable for use in place of the given font, if one is available.
SDK
- macOS 10.0–10.11Deprecated
Framework
- App
Kit
Declaration
Parameters
originalFont
The font to replace.
Return Value
A screen font suitable for use in place of original
, or simply original
if a screen font can’t be used or isn’t available.
Discussion
A screen font can be substituted if the receiver is set to use screen fonts and if no NSText
associated with the receiver is scaled or rotated.