Use the font typeface when available instead of rematch
The font fallback is returning a specific typeface. The specific typeface should be used when available to avoid a font family match (which may leads to a different font being used). As an example, on Fuchsia the script Bengali is using the 'Mukti Narrow' which is not getting match correctly. That makes the script being broken. We are not seeing a regression since the expensive fallbacks algorithm is catching the broken cases. see: https://chromium-review.googlesource.com/c/chromium/src/+/1824104 http://crbug.com/1003829 Bug: 1008407, 1018321 Change-Id: I668382707e24ecc267a82531ad2a77c23283b2b3 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1884657Reviewed-by:Robert Liao <robliao@chromium.org> Reviewed-by:
Alexei Svitkine <asvitkine@chromium.org> Commit-Queue: Etienne Bergeron <etienneb@chromium.org> Cr-Commit-Position: refs/heads/master@{#710065}
Showing
Please register or sign in to comment