Files
wxWidgets/src
Stefan Csomor 5f7d4a70c2 Use "Courier New" and "Times New Roman" in wxOSX
macOS 12 doesn't provide "Courier" and "Times" fonts any longer, so use
their closest replacements "Courier New" and "Times New Roman" instead.

In addition to using them for our own default fonts, also map
user-provided fonts with the old names to the new ones, as in practice
quite a few applications specify these face names rather than relying on
wxFontFamily and it seems better to allow them to keep working correctly
under macOS 12+ rather than using a completely different default system
font when e.g. "Courier" is specified.

Co-Authored-By: Vadim Zeitlin <vadim@wxwidgets.org>

Closes #22355.
2022-04-28 00:53:05 +02:00
..