FontListTest::Fonts_GetHeight_GetBaseline fails on Android |
|||
Issue descriptionFontListTest::Fonts_GetHeight_GetBaseline fails on Android. The root cause is that this test requires two fonts to have different baseline and different height. The ones we are using don't meet this criteria. We need to find two system fonts that meet this criteria. RenderTextTest.StringSizeRespectsFontListMetrics fails due to the similar issue as well.
,
Nov 20
,
Nov 21
The following revision refers to this bug: https://chromium.googlesource.com/chromium/src.git/+/8d3fdfc64e8a27db48f7ea550d96d1234f1cd8be commit 8d3fdfc64e8a27db48f7ea550d96d1234f1cd8be Author: Peter Kasting <pkasting@chromium.org> Date: Wed Nov 21 19:07:45 2018 Enable two disabled font metric tests on Android. The tests currently assume that the normal and CJK fonts have different metrics. On Android, this is not true for all platforms we support. The tests still have some value when run with fonts with identical metrics, so modify the test expectations slightly to work in that case and enable these tests. Bug: 865540 Change-Id: I6cd98a254f9ae0e6c6a9818e37c9ae69ca954f13 Reviewed-on: https://chromium-review.googlesource.com/c/1343531 Commit-Queue: Peter Kasting <pkasting@chromium.org> Reviewed-by: Alexei Svitkine <asvitkine@chromium.org> Cr-Commit-Position: refs/heads/master@{#610115} [modify] https://crrev.com/8d3fdfc64e8a27db48f7ea550d96d1234f1cd8be/ui/gfx/font_list_unittest.cc [modify] https://crrev.com/8d3fdfc64e8a27db48f7ea550d96d1234f1cd8be/ui/gfx/render_text_unittest.cc
,
Nov 21
|
|||
►
Sign in to add a comment |
|||
Comment 1 by bugdroid1@chromium.org
, Jul 24