-
Sergey Ulanov authored
Initial implementation of SkFontMgr for Fuchsia that implements minimal SkFontMgr functionality used in Blink. There are still a number of features that don't work properly and will require changes in the system FontProvider to get fixed: 1. Character to font matching (see onMatchFamilyStyleCharacter()). Currently the system API doesn't provide this feature. 2. Style matching according to CSS3: Font style matching rules implemented in Fuchsia's font provider do not match CSS3 rules. 3. Font aliasing: FontProvider supports only 3 Roboto fonts (Roboto, RobotoSlab and RobotoMono) doesn't support any font family aliases. To workaround this issue aliasing implemented directly in FuchsiaFontManager. The new SkFontMgr is not enabled yet because it doesn't work in sandbox. Will enabled it later in a separate CL. Bug: 800156 Change-Id: I98a9bed3f98c492577cc9cf0a81f190c8837da31 Reviewed-on: https://chromium-review.googlesource.com/1114192 Commit-Queue: Sergey Ulanov <sergeyu@chromium.org> Reviewed-by:Wez <wez@chromium.org> Reviewed-by:
Nico Weber <thakis@chromium.org> Cr-Commit-Position: refs/heads/master@{#572360}
587827f0