mirror of
https://github.com/storytold/harfbuzz.git
synced 2026-11-20 14:31:10 +01:00
Revert "Fallback to 'kern' if no GPOS applied"
This reverts commit d740c8f78b.
The change is wrong. If there is a GPOS table, we should not use 'kern'.
This commit is contained in:
1 parent
d740c8f78b
commit
e70f45eb52
1 file changed
+2
-2
+2
-2
@@ -135,7 +135,7 @@ _hb_ot_substitute_complex (hb_font_t *font,
|
||||
for (i = 0; i < num_lookups; i++)
|
||||
hb_ot_layout_substitute_lookup (face, buffer, lookups[i], 0xFFFF);
|
||||
|
||||
return num_lookups != 0;
|
||||
return TRUE;
|
||||
}
|
||||
|
||||
hb_bool_t
|
||||
@@ -161,5 +161,5 @@ _hb_ot_position_complex (hb_font_t *font,
|
||||
|
||||
hb_ot_layout_position_finish (font, face, buffer);
|
||||
|
||||
return num_lookups != 0;
|
||||
return TRUE;
|
||||
}
|
||||
Reference in new issue
Block a user