PDF a11y: Use style info in the text-runs break heuristic
The text-runs break heuristic now considers the text style. With this change, a text run will break if it encounters a difference in the following text style properties: * font-family * font-weight * rendering mode * font-size * fill color * stroke color * italic flag * bold flag Before this change, it used to break only if a font-size difference was observed. I added an "ultimate" dump test that tests for all of those properties. Bug: 985604 Change-Id: Ice4b4a2dcdd8cc9642ca0e9d069a415c5b2700fd Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1771987 Commit-Queue: Benjamin Beaudry <benjamin.beaudry@microsoft.com> Reviewed-by:Lei Zhang <thestig@chromium.org> Reviewed-by:
Ian Prest <iapres@microsoft.com> Cr-Commit-Position: refs/heads/master@{#710522}
Showing
This diff was suppressed by a .gitattributes entry.
Please register or sign in to comment