Fix text axis alignment calculation
BUG=skia: Review URL: https://codereview.chromium.org/1405583002
This commit is contained in:
parent
9ae8fe1c60
commit
eb85b8321b
@ -829,7 +829,7 @@ SkAxisAlignment SkComputeAxisAlignmentForHText(const SkMatrix& matrix) {
|
||||
if (0 == matrix[SkMatrix::kMSkewY]) {
|
||||
return kX_SkAxisAlignment;
|
||||
}
|
||||
if (0 == matrix[SkMatrix::kMScaleX]) {
|
||||
if (0 == matrix[SkMatrix::kMSkewX]) {
|
||||
return kY_SkAxisAlignment;
|
||||
}
|
||||
return kNone_SkAxisAlignment;
|
||||
|
Loading…
Reference in New Issue
Block a user