/* See whether or not the tuple applies to the current variation
configuration, and how much to scale them by. */
- scale = sfnt_compute_tuple_scale (blend, index & 0x1000,
+ scale = sfnt_compute_tuple_scale (blend, index & 0x4000,
coords, intermediate_start,
intermediate_end);
/* See whether or not the tuple applies to the current variation
configuration, and how much to scale them by. */
- scale = sfnt_compute_tuple_scale (blend, index & 0x1000,
+ scale = sfnt_compute_tuple_scale (blend, index & 0x4000,
coords, intermediate_start,
intermediate_end);
font_info->font.underline_position = -1;
font_info->font.underline_thickness = 0;
- /* Calculate the xfld name. */
- font->props[FONT_NAME_INDEX] = Ffont_xlfd_name (font_object, Qnil);
-
/* Now try to set up grid fitting for this font. */
dpyinfo = FRAME_DISPLAY_INFO (f);
point_size = PIXEL_TO_POINT (pixel_size, (dpyinfo->resx
}
}
+ /* Calculate the xfld name. */
+ font->props[FONT_NAME_INDEX] = Ffont_xlfd_name (font_object, Qnil);
+
#ifdef HAVE_HARFBUZZ
/* HarfBuzz will potentially read font tables after the font has
been opened by Emacs. Keep the font open, and record its offset