<div dir="ltr">On Thu, Sep 14, 2017 at 8:00 PM, Behdad Esfahbod <span dir="ltr"><<a href="mailto:behdad@behdad.org" target="_blank">behdad@behdad.org</a>></span> wrote:<br><div class="gmail_extra"><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div>Another issue:<br><br>+static void <br>+cairo_ft_apply_variations (FT_Face     face, <br>+                           const char *variations) <br>+{ <br>+    FT_MM_Var *ft_mm_var; <br>+    FT_Error ret; <br>+ <br>+    if (!variations || !variations[0]) <br>+        return; <br>+ <br>+    ret = FT_Get_MM_Var (face, &ft_mm_var); <br><br></div>This fails to reset the variations on the face, if variations is NULL or empty.<br></div></blockquote><div><br></div><div>Fixed this one. <br></div></div></div></div>