middle is more common than start or end
This commit is contained in:
parent
cb8935746f
commit
0a742ea8d0
1 changed files with 1 additions and 1 deletions
|
|
@ -810,8 +810,8 @@ static inline LigatureType
|
|||
ligature_type_from_glyph_name(const char *glyph_name) {
|
||||
const char *p = strrchr(glyph_name, '_');
|
||||
if (!p) return LIGATURE_UNKNOWN;
|
||||
if (strcmp(p, "_start.seq") == 0) return INFINITE_LIGATURE_START;
|
||||
if (strcmp(p, "_middle.seq") == 0) return INFINITE_LIGATURE_MIDDLE;
|
||||
if (strcmp(p, "_start.seq") == 0) return INFINITE_LIGATURE_START;
|
||||
if (strcmp(p, "_end.seq") == 0) return INFINITE_LIGATURE_END;
|
||||
return LIGATURE_UNKNOWN;
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue