[cairo-bugs] [Bug 102645] New: FT_Set_Var_Design_Coordinates() does not affect previously rendered glyphs

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Sun Sep 10 15:51:56 UTC 2017


https://bugs.freedesktop.org/show_bug.cgi?id=102645

            Bug ID: 102645
           Summary: FT_Set_Var_Design_Coordinates() does not affect
                    previously rendered glyphs
           Product: cairo
           Version: unspecified
          Hardware: Other
                OS: All
            Status: NEW
          Severity: normal
          Priority: medium
         Component: freetype font backend
          Assignee: david at freetype.org
          Reporter: khaledhosny at eglug.org
        QA Contact: cairo-bugs at cairographics.org

Created attachment 134130
  --> https://bugs.freedesktop.org/attachment.cgi?id=134130&action=edit
Test program

I’m trying to render variable fonts with Cairo and FreeType. If I call
FT_Set_Var_Design_Coordinates() before rendering any glyphs things work as
expected, but if a glyph is rendered with certain variable coordinates it will
not be affected by FT_Set_Var_Design_Coordinates() and will be always rendered
with the old coordinates.

Looks like the glyph cash does not take variable coordinates into account. The
attached test program shows the issue; the second A should be rendered using
the light not the heavy weight.

-- 
You are receiving this mail because:
You are the QA Contact for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.cairographics.org/archives/cairo-bugs/attachments/20170910/b6269f48/attachment.html>


More information about the cairo-bugs mailing list