Reuse Android's gfx::GetFallbackFont() on Fuchsia
Android's implementation of GetFallbackFont() uses SkFontMgr , so it works on Fuchsia as well. Moved it to a new font_fallback_skia.cc. Also 1. Replaced font_render_params_fuchsia.cc and font_renderer_params_android.cc with font_render_params_skia.cc - the two implementations were almost identical. 2. Enabled test_fonts usage in gfx_unittests on Fuchsia. 3. Now all font-related unittests in gfx_unittests pass on Fuchsia. Updated test filter file accordingly. 4. Updated platform-specific ifdefs for some RenderText unittests to make them pass on Fuchsia. Bug: 952652, 960389 Change-Id: I6bf14bfea7a1649b2ad795c0594265a6051cd7e3 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1602286 Commit-Queue: Sergey Ulanov <sergeyu@chromium.org> Reviewed-by:Etienne Bergeron <etienneb@chromium.org> Reviewed-by:
Alexei Svitkine <asvitkine@chromium.org> Cr-Commit-Position: refs/heads/master@{#658715}
Showing
File moved
Please register or sign in to comment