Fix incorrect slope of Circled Italic Latin Capital Letter C (U+1F12B) and Circled Italic Latin Capital Letter R (U+1F12C) (#1051).

This commit is contained in:
be5invis 2021-05-23 20:47:04 -07:00
parent cb14875d9d
commit 9ec56813b5
5 changed files with 52 additions and 50 deletions

View file

@ -51,6 +51,10 @@ module.exports = class Transform {
);
}
toString() {
return `[[${this.xx} ${this.xy}] [${this.yx} ${this.yy}]] + [[${this.x}] [${this.y}]]`;
}
static isTranslate(tfm) {
return tfm.xx === 1 && tfm.yy === 1 && tfm.xy === 0 && tfm.yx === 0;
}