(lookup_gsub): For Format 3, set
authorhanda <handa>
Tue, 2 Nov 2004 06:09:53 +0000 (06:09 +0000)
committerhanda <handa>
Tue, 2 Nov 2004 06:09:53 +0000 (06:09 +0000)
OTF_Glyph->alternate_set.

src/otfdrive.c

index c969cd9..a962bae 100644 (file)
@@ -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