Add name suffix for marks (kovidgoyal/kitty#3716)
This commit is contained in:
parent
6af9c2e29e
commit
554375808c
6 changed files with 46 additions and 23 deletions
|
|
@ -91,6 +91,7 @@ const TieGlyph = {
|
|||
set(glyph) {
|
||||
if (!glyph.related) glyph.related = {};
|
||||
glyph.related.TieGlyph = true;
|
||||
Joining.or(glyph, Joining.Classes.Mid);
|
||||
}
|
||||
};
|
||||
|
||||
|
|
@ -125,6 +126,9 @@ const Joining = {
|
|||
if (!glyph.related) glyph.related = {};
|
||||
glyph.related.joining = cls;
|
||||
},
|
||||
or(glyph, cls) {
|
||||
Joining.set(glyph, cls | Joining.get(cls));
|
||||
},
|
||||
amendOtName(baseName, cl) {
|
||||
switch (cl) {
|
||||
case Joining.Classes.Left:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue