summaryrefslogtreecommitdiff
path: root/docs/html/sdk/api_diff/6/changes
diff options
context:
space:
mode:
authorVictoria Lease <violets@google.com>2013-03-27 15:35:53 -0700
committerVictoria Lease <violets@google.com>2013-03-28 15:56:14 -0700
commit626d3c228116103e95d4429b06dad70f9812561a (patch)
treef103c07cc4d153466752bec15a91520eda6dc584 /docs/html/sdk/api_diff/6/changes
parent44bed6af1d40e529b51d992507d7dd3370abf262 (diff)
bidiFlags != SkPaint::Flags
We've a number of native functions in the text layout path that take a bidiFlags argument. We've a number of callers of those functions passing in SkPaint::Flags in that slot. This completely breaks text directionality for the affected functions, as SkPaint::kAntiAlias_Flag happens to share values with kBidi_RTL, resulting in anti-aliased SkPaints measuring text as if it were RTL, and non-anti-aliased SkPaints measuring text as if it were LTR, regardless of the actual text directionality. Oops! To address the issue, this commit replaces erroneous calls to SkPaint.getFlags() with the value of Paint.mBidiFlags, and includes the necessary plumbing to get that value where it needs to be. Bug: 8471481 Change-Id: I2d04b70defed3130fc1ad13f4c9098f5fce4ffde
Diffstat (limited to 'docs/html/sdk/api_diff/6/changes')
0 files changed, 0 insertions, 0 deletions