• Etienne Bergeron's avatar
    Add fallback font unittests for different base fonts · 179343dd
    Etienne Bergeron authored
    This CL is adding unittests for GetFallbackFont(...) API.
    The goal is to increase coverage of the fallback font code
    for cases where the base font is not the default system
    font.
    
    Some chrome users are changing their default system font
    which may create bad cases for fallback fonts API.
    
    There are two unittests that required change:
      1) Lao (u+0ED0)
      2) Nko (u+07C1)
    In these two cases, the codepoint is present in "Segeo UI"
    but is not present in "Segeo UI Italic".
    
    Change-Id: Id9c50be56e025ae0c4a4651b1e2c47812430015d
    Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1948091
    Commit-Queue: Etienne Bergeron <etienneb@chromium.org>
    Reviewed-by: default avatarRobert Liao <robliao@chromium.org>
    Cr-Commit-Position: refs/heads/master@{#721500}
    179343dd
font_fallback_test_data.cc 8.01 KB