]> git.eshelyaron.com Git - emacs.git/commitdiff
fix previous change
authorK. Handa <handa@gnu.org>
Wed, 2 Sep 2015 09:27:23 +0000 (18:27 +0900)
committerK. Handa <handa@gnu.org>
Wed, 2 Sep 2015 09:27:23 +0000 (18:27 +0900)
* ftfont.c (ftfont_drive_otf): Remember some bits of
OTF_Glyph->positioning_type in MFLTGlyphFT->libotf_positioning_type.

src/ftfont.c

index 885fee61ba1ab8222e7a6e21d70b1c5269e4ec2c..a110cd8a8d8ad8dcabb0956fef37b0b5d4e132e6 100644 (file)
@@ -1934,6 +1934,10 @@ ftfont_drive_otf (MFLTFont *font,
              tag = PACK_OTF_TAG (tag);
              g->g.internal = (g->g.internal & ~0x1FFFFFFF) | tag;
            }
+#ifdef OTF_POSITIONING_TYPE_GET_FORMAT
+         g->libotf_positioning_type
+           = otfg->positioning_type & otf_positioning_type_components_mask;
+#endif
          for (i++, otfg++; (i < otf_gstring.used
                             && otfg->f.index.from == otfg[-1].f.index.from);
               i++, otfg++)
@@ -1957,6 +1961,10 @@ ftfont_drive_otf (MFLTFont *font,
                  tag = PACK_OTF_TAG (tag);
                  g->g.internal = (g->g.internal & ~0x1FFFFFFF) | tag;
                }
+#ifdef OTF_POSITIONING_TYPE_GET_FORMAT
+             g->libotf_positioning_type
+               = otfg->positioning_type & otf_positioning_type_components_mask;
+#endif
              out->used++;
            }
        }