DescriptionUpdates UI font fallback to use DirectWrite when available
so that we can fallback to the color emoji font.
Summary of changes:
TextAnalysisSource was moved from content/common to
gfx/ui/win, namespace was changed accordingly, and users
updated.
The public GetUniscribeFallbackFont API was renamed to
GetFallbackFont. This API will now check if it can use
DirectWrite font fallback; otherwise it will call the old
codepath. Using DirectWrite for fallback allows the UI
code to correctly fallback on the color emoji font when
available.
BUG=617376
Committed: https://crrev.com/ce612ebdb8874b563d020338969f20f227b8dd9f
Cr-Commit-Position: refs/heads/master@{#402879}
Patch Set 1 #Patch Set 2 : Rebase #Patch Set 3 : Remove hardcoded locale #Patch Set 4 : Add check for browser thread #Patch Set 5 : Revert unrelated comment #Patch Set 6 : Actually delete old TextAnalysisSource #
Total comments: 36
Patch Set 7 : Fix unittests #
Total comments: 6
Patch Set 8 : Review feedback #Patch Set 9 : Add new unittest to gyp build #Patch Set 10 : Remove "DWRITE" from include header guard #Patch Set 11 : Fix clang build error due to signed-unsigned comparison #
Total comments: 21
Patch Set 12 : Tweak unittests #Patch Set 13 : Add cache of direct write factory #Patch Set 14 : Rebase #
Messages
Total messages: 25 (10 generated)
|