DescriptionMac: Implement GetFallbackFontFamilies for Harfbuzz
From 10.8 onwards, CoreText provides
CTFontCopyDefaultCascadeListForLanguages() which is exactly what we
want. For 10.6 and 10.7, use an older private interface,
CTFontCopyDefaultCascadeList().
Adds tests to ensure the feature detection and API behavior is sane
across all OSX versions we support.
BUG=439039, 462477
NOPRESUBMIT=true
Committed: https://crrev.com/2daf5448d99882ffc6957c773a83a2e7efdb73e2
Cr-Commit-Position: refs/heads/master@{#319176}
Patch Set 1 : Failed attempt with NSFont APIs #Patch Set 2 : Another dead end #Patch Set 3 : It works \o/. Now with a test #Patch Set 4 : Kill CoreText stderr spam, add a targeted test #Patch Set 5 : Feature Detection #
Total comments: 10
Patch Set 6 : Alexei comments #
Total comments: 2
Patch Set 7 : Move to font_fallback_mac_unittest #
Messages
Total messages: 21 (9 generated)
|