diff options
author | tapted <tapted@chromium.org> | 2015-03-04 16:42:04 -0800 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2015-03-05 00:43:00 +0000 |
commit | 2daf5448d99882ffc6957c773a83a2e7efdb73e2 (patch) | |
tree | 64fdfa1b5af744409eb9a62764c78f2597dfa510 /base/mac/foundation_util.h | |
parent | 4449d976059b4d76ca1671560042f291f9a6083d (diff) | |
download | chromium_src-2daf5448d99882ffc6957c773a83a2e7efdb73e2.zip chromium_src-2daf5448d99882ffc6957c773a83a2e7efdb73e2.tar.gz chromium_src-2daf5448d99882ffc6957c773a83a2e7efdb73e2.tar.bz2 |
Mac: 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
Review URL: https://codereview.chromium.org/971673002
Cr-Commit-Position: refs/heads/master@{#319176}
Diffstat (limited to 'base/mac/foundation_util.h')
-rw-r--r-- | base/mac/foundation_util.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/base/mac/foundation_util.h b/base/mac/foundation_util.h index accc0d9..353ed7c 100644 --- a/base/mac/foundation_util.h +++ b/base/mac/foundation_util.h @@ -296,6 +296,7 @@ CF_CAST_DECL(CFUUID); CF_CAST_DECL(CGColor); CF_CAST_DECL(CTFont); +CF_CAST_DECL(CTFontDescriptor); CF_CAST_DECL(CTRun); CF_CAST_DECL(SecACL); |