[LayoutNG] Add NG-specific DrawText support to GraphicsContext
Add LayoutNG versions of the DrawText and DrawEmphasisMarks methods that operate on TextFragmentPaintInfo instances (wrapping text fragment data) instead of TextRunPaintInfo instances. Reuses impl when at all possible. Also adds support for bloberizing emphasis marks for text fragments with the addition of a FillTextEmphasisGlyphs StringView/ShapeResult version. BUG=714962 R=kojii@chromium.org Review-Url: https://codereview.chromium.org/2845883002 Cr-Commit-Position: refs/heads/master@{#467592}
Showing
Please register or sign in to comment