From cc62a4a4ffeb51962f3729a9d07e65a8b4fb9e9e Mon Sep 17 00:00:00 2001 From: handa Date: Tue, 2 Nov 2004 06:09:53 +0000 Subject: [PATCH] (lookup_gsub): For Format 3, set OTF_Glyph->alternate_set. --- src/otfdrive.c | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/src/otfdrive.c b/src/otfdrive.c index c969cd9..a962bae 100644 --- a/src/otfdrive.c +++ b/src/otfdrive.c @@ -459,14 +459,11 @@ lookup_gsub (OTF_LookupList *lookup_list, unsigned lookup_list_index, break; case 3: - /* For the moment, we always ignore this feature. */ - break; if (subtable->Format == 1) { OTF_GSUB_Alternate1 *alt1 = &subtable->u.alternate1; - OTF_AlternateSet *altset = alt1->AlternateSet + coverage_idx; - g->glyph_id = altset->Alternate[0]; + g->alternate_set = alt1->AlternateSet + coverage_idx; gidx++; } else -- 1.7.10.4