summaryrefslogtreecommitdiffstats
path: root/mkspecs
diff options
context:
space:
mode:
authorTor Arne Vestbø <tor.arne.vestbo@qt.io>2017-03-20 19:31:29 +0100
committerTor Arne Vestbø <tor.arne.vestbo@qt.io>2017-04-11 09:23:44 +0000
commit5ad2e1cea1b2c08950c91174840f542806954d99 (patch)
treee75b656caa2451c8070a8e516809b162481307a6 /mkspecs
parent17fc188aec5806167d3c6165b0ad299a8d2a6bcf (diff)
Populate application fonts via font descriptors on Apple platforms
Instead of registering the font via CTFontManagerRegister we just create a font descriptor for the data/URL and populate that like normal system fonts. This makes the code more similar to how we deal with other fonts, shaves off a ms during font registration due to not registering the font, and fixes an issue on iOS where CTFontManagerRegister would invalidate earlier populated system font descriptors. Task-number: QTBUG-56765 Change-Id: I002a65075b15837c9a2d22573020d4c834111837 Reviewed-by: Eskil Abrahamsen Blomfeldt <eskil.abrahamsen-blomfeldt@qt.io>
Diffstat (limited to 'mkspecs')
0 files changed, 0 insertions, 0 deletions