Re: OpenType font variations and cairo

Matthias Clasen <[email protected]>
Newsgroups gmane.comp.lib.cairo
Message-ID <CAFwd_vArLfzkJCR=xzdX7fRq2q1N9mKMGntY8hC4vQsY8LRYrg@mail.gmail.com>
On Thu, Sep 14, 2017 at 8:00 PM, Behdad Esfahbod <[email protected]> wrote:

> Another issue:
>
> +static void
> +cairo_ft_apply_variations (FT_Face     face,
> +                           const char *variations)
> +{
> +    FT_MM_Var *ft_mm_var;
> +    FT_Error ret;
> +
> +    if (!variations || !variations[0])
> +        return;
> +
> +    ret = FT_Get_MM_Var (face, &ft_mm_var);
>
> This fails to reset the variations on the face, if variations is NULL or
> empty.
>

Fixed this one.

-- 
cairo mailing list
[email protected]
https://lists.cairographics.org/mailman/listinfo/cairo
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.