#19191: Mac performance obtaining system fonts
---------------------------+-----------------------------------------
Reporter: andyr | Owner: Vadim Zeitlin <vadim@…>
Type: optimization | Status: closed
Priority: normal | Milestone:
Component: wxOSX | Version: dev-latest
Resolution: fixed | Keywords: Mac performance system font
Blocked By: | Blocking:
Patch: 1 |
---------------------------+-----------------------------------------
Changes (by Vadim Zeitlin <vadim@…>):
* status: new => closed
* owner: => Vadim Zeitlin <vadim@…>
* resolution: => fixed
Comment:
In [changeset:"27047eb338a3040cc23318c786857cd1f3f4ebd5/git-wxWidgets"
27047eb33/git-wxWidgets]:
{{{
#!CommitTicketReference repository="git-wxWidgets"
revision="27047eb338a3040cc23318c786857cd1f3f4ebd5"
Cache system fonts in wxOSX
Call CTFontCreateUIFontForLanguage() only once for every
CTFontUIFontType value and cache the results, as it is expensive to do
it every time wxSystemSettings::GetFont() is called.
Closes #19191.
This commit is best viewed ignoring whitespace-only changes.
}}}
--
Ticket URL: <
https://trac.wxwidgets.org/ticket/19191#comment:11>