[subset] use glyphset_gsub instead of glyphset for GDEF
This commit is contained in:
parent
e39647c0f1
commit
60e203644b
|
@ -84,7 +84,7 @@ struct AttachList
|
||||||
bool subset (hb_subset_context_t *c) const
|
bool subset (hb_subset_context_t *c) const
|
||||||
{
|
{
|
||||||
TRACE_SUBSET (this);
|
TRACE_SUBSET (this);
|
||||||
const hb_set_t &glyphset = *c->plan->glyphset ();
|
const hb_set_t &glyphset = *c->plan->glyphset_gsub ();
|
||||||
const hb_map_t &glyph_map = *c->plan->glyph_map;
|
const hb_map_t &glyph_map = *c->plan->glyph_map;
|
||||||
|
|
||||||
auto *out = c->serializer->start_embed (*this);
|
auto *out = c->serializer->start_embed (*this);
|
||||||
|
@ -371,7 +371,7 @@ struct LigCaretList
|
||||||
bool subset (hb_subset_context_t *c) const
|
bool subset (hb_subset_context_t *c) const
|
||||||
{
|
{
|
||||||
TRACE_SUBSET (this);
|
TRACE_SUBSET (this);
|
||||||
const hb_set_t &glyphset = *c->plan->glyphset ();
|
const hb_set_t &glyphset = *c->plan->glyphset_gsub ();
|
||||||
const hb_map_t &glyph_map = *c->plan->glyph_map;
|
const hb_map_t &glyph_map = *c->plan->glyph_map;
|
||||||
|
|
||||||
auto *out = c->serializer->start_embed (*this);
|
auto *out = c->serializer->start_embed (*this);
|
||||||
|
|
|
@ -30,6 +30,7 @@ EXTRA_DIST += \
|
||||||
expected/layout.gsub8 \
|
expected/layout.gsub8 \
|
||||||
expected/layout.khmer \
|
expected/layout.khmer \
|
||||||
expected/layout.gdef \
|
expected/layout.gdef \
|
||||||
|
expected/layout.gdef.glyphset \
|
||||||
expected/layout.context \
|
expected/layout.context \
|
||||||
expected/layout.gdef-varstore \
|
expected/layout.gdef-varstore \
|
||||||
expected/layout.gdef-attachlist \
|
expected/layout.gdef-attachlist \
|
||||||
|
|
|
@ -16,6 +16,7 @@ TESTS = \
|
||||||
tests/layout.gdef-attachlist.tests \
|
tests/layout.gdef-attachlist.tests \
|
||||||
tests/layout.gdef-varstore.tests \
|
tests/layout.gdef-varstore.tests \
|
||||||
tests/layout.gdef.tests \
|
tests/layout.gdef.tests \
|
||||||
|
tests/layout.gdef.glyphset.tests \
|
||||||
tests/layout.gpos.tests \
|
tests/layout.gpos.tests \
|
||||||
tests/layout.gpos2.tests \
|
tests/layout.gpos2.tests \
|
||||||
tests/layout.gpos3.tests \
|
tests/layout.gpos3.tests \
|
||||||
|
|
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
|
@ -0,0 +1,11 @@
|
||||||
|
FONTS:
|
||||||
|
IndicTestHowrah-Regular.ttf
|
||||||
|
|
||||||
|
PROFILES:
|
||||||
|
default.txt
|
||||||
|
drop-hints.txt
|
||||||
|
retain-gids.txt
|
||||||
|
|
||||||
|
SUBSETS:
|
||||||
|
U+9dd
|
||||||
|
*
|
|
@ -21,6 +21,7 @@ tests = [
|
||||||
'layout.gsub6',
|
'layout.gsub6',
|
||||||
'layout.gsub8',
|
'layout.gsub8',
|
||||||
'layout.gdef',
|
'layout.gdef',
|
||||||
|
'layout.gdef.glyphset',
|
||||||
'layout.khmer',
|
'layout.khmer',
|
||||||
'layout.context',
|
'layout.context',
|
||||||
'layout.gdef-varstore',
|
'layout.gdef-varstore',
|
||||||
|
|
Loading…
Reference in New Issue