forked from Pissandshittium/pissandshittium
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Refactor the current text position update in SVGTextLayoutEngine
The main change is around the handling of "delta" adjustments ('dx' / 'dy'), that is changed to not require keeping state. Additionally text-on-a-path layout is changed to track the displacement from the path (the accumulated delta adjustments in the perpendicular direction.) Baseline adjustments are consolidated between code-paths and part of the "fragmentation" condition is hoisted out of the per-"glyph" loop. BUG=486669 Review URL: https://codereview.chromium.org/1883553004 Cr-Commit-Position: refs/heads/master@{#387694}
- Loading branch information
fs
authored and
Commit bot
committed
Apr 15, 2016
1 parent
20a58a6
commit 143115b
Showing
2 changed files
with
97 additions
and
128 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters