mirror of
https://github.com/harfbuzz/harfbuzz.git
synced 2025-04-05 13:35:06 +00:00
[normalizer] Allow c->plan to be nullptr
Might want it for subset closure.
This commit is contained in:
parent
3e06b7054a
commit
bda5f647ce
1 changed files with 1 additions and 1 deletions
|
@ -78,7 +78,7 @@ compose_hebrew (const hb_ot_shape_normalize_context_t *c,
|
|||
return found;
|
||||
#endif
|
||||
|
||||
if (!found && !c->plan->has_gpos_mark)
|
||||
if (!found && (c->plan && !c->plan->has_gpos_mark))
|
||||
{
|
||||
/* Special-case Hebrew presentation forms that are excluded from
|
||||
* standard normalization, but wanted for old fonts. */
|
||||
|
|
Loading…
Add table
Reference in a new issue