DescriptionStore a <scale, bias> tuple for textLength scale adjustment
SVGTextFragment::lengthAdjustTransform only ever has two values that
could make it differ from the identity transform.
By storing only these two values - and as floats rather than doubles -
instead of the full AffineTransform, the size of SVGTextFragment is
reduced by 40 bytes.
To enable this we however need to store whether the writing-mode is
vertical or horizontal, so steal one bit from the length field for
that.
BUG=571415
Committed: https://crrev.com/f34118c23eb1eb9f76cf34bf90e2f1ad81ad2339
Cr-Commit-Position: refs/heads/master@{#368051}
Patch Set 1 #Patch Set 2 : Baseline. #
Total comments: 2
Patch Set 3 : Drop []. #
Messages
Total messages: 10 (4 generated)
|