]> code.delx.au - gnu-emacs/commitdiff
Merge branch 'master' of git.sv.gnu.org:/srv/git/emacs
authorK. Handa <handa@gnu.org>
Wed, 2 Sep 2015 09:28:54 +0000 (18:28 +0900)
committerK. Handa <handa@gnu.org>
Wed, 2 Sep 2015 09:28:54 +0000 (18:28 +0900)
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++;
            }
        }