[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [ft-devel] Minor FT_Set_Var_Design_Coordinates() request

From: Matthias Clasen
Subject: Re: [ft-devel] Minor FT_Set_Var_Design_Coordinates() request
Date: Mon, 18 Dec 2017 13:49:20 -0500

On Mon, Dec 18, 2017 at 1:39 PM, Behdad Esfahbod <address@hidden> wrote:
Hi Werner,

Is there any chance you can modify FT_Set_Var_Design_Coordinates() to detect when the set face coordinates are not changed and shortcircuit out early?  Currently, if one calls that function too often (say, for every glyph load, which is how we want to call it in cairo), it causes font metrics and autohinter reinitialization even if the coordinates didn't change.  Can you please fix that?  Matthias and I are hacking together this week, trying to finish font variations support in the Pango stack.


Here is a quick hack to demonstrate the idea

Attachment: font-variations-shortcut.patch
Description: Text Data

reply via email to

[Prev in Thread] Current Thread [Next in Thread]