[cairo] OpenType font variations and cairo
Behdad Esfahbod
behdad at behdad.org
Fri Sep 15 00:00:44 UTC 2017
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.
On Wed, Sep 13, 2017 at 2:41 PM, Matthias Clasen <matthias.clasen at gmail.com>
wrote:
> Over the last few days, Behdad and I worked together on supporting
> OpenType font variations in the Linux text rendering stack. This requires
> small additions to pango, fontconfig, and ... cairo.
>
> The cairo patch is simple and ready (i'm still debugging some issues on
> the pango side).
>
> It adds a new member to the font options struct, a string which contains
> the font variation settings.
>
--
behdad
http://behdad.org/
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.cairographics.org/archives/cairo/attachments/20170914/0c18f4dc/attachment.html>
More information about the cairo
mailing list