summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorTor Arne Vestbø <torarnv@gmail.com>2014-01-22 13:41:26 +0100
committerThe Qt Project <gerrit-noreply@qt-project.org>2014-01-25 03:04:49 +0100
commitc76a6fe2c4f7e2e92ea0fe02b1e635c529db8a12 (patch)
treec2a27f35395599427e1c9c85408c7926f2863db2 /tests
parent5173589b795560c2042d06d191ac86ad61f24e51 (diff)
Teach CoreText font db to handle application font files with multiple fonts
The ATS code path already did this, by enumerating all the fonts in the resolved collection. The CoreText code path assumed that registering a font URL would only add a single font. We now use CTFontManagerRegisterFontsForURL to enumerate all fonts that were added. This functionality is not available for fonts based on a data provider. As part of implementing the patch the code was simplified to re-use logic between the different ways of resolving font descriptors from a file or byte array. Change-Id: I6eb15df939d03dc588a87e46f39bd54e56b50643 Reviewed-by: Tor Arne Vestbø <tor.arne.vestbo@digia.com>
Diffstat (limited to 'tests')
0 files changed, 0 insertions, 0 deletions