-
Joel Hockey authored
When all fonts have been exhausted and we must render tofu / notdef, we use the first candidate font rather than the system or last resort font. This helps in the case where a user has specified a monospace font such as for the terminal system app. We want to use the uniform width tofu, rather than the system or last resort font. Renamed is_last_resort to is_last_font in HarfBuzzShaper to reduce confusion since the final font used may not be the system last resort font. Some tests required updating since they are now rendering .notdef from the preferred font rather than the last resort font. I have added SansNotoTibetan-Regular.ttf font which is required in test external/wpt/css/css-text/word-break/word-break-break-all-005.html. Cq-Include-Trybots: luci.chromium.try:linux-blink-rel;luci.chromium.try:mac10.10-blink-rel;luci.chromium.try:mac10.11-blink-rel;luci.chromium.try:mac10.12-blink-rel;luci.chromium.try:mac10.13-blink-rel;luci.chromium.try:mac10.13_retina-blink-rel;luci.chromium.try:mac10.14-blink-rel;luci.chromium.try:mac10.15-blink-rel;luci.chromium.try:win7-blink-rel;luci.chromium.try:win10-blink-rel Bug: 1090566 Change-Id: Ifca2800e6296adac3e40e3dae16008959b669337 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2227711Reviewed-by:
Robert Ma <robertma@chromium.org> Reviewed-by:
Emil A Eklund <eae@chromium.org> Reviewed-by:
Dominik Röttsches <drott@chromium.org> Commit-Queue: Joel Hockey <joelhockey@chromium.org> Cr-Commit-Position: refs/heads/master@{#776171}
1c0065a8