<html>
<head>
<base href="https://bugs.freedesktop.org/">
</head>
<body><table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>Bug ID</th>
<td><a class="bz_bug_link
bz_status_NEW "
title="NEW - FT_Set_Var_Design_Coordinates() does not affect previously rendered glyphs"
href="https://bugs.freedesktop.org/show_bug.cgi?id=102645">102645</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>FT_Set_Var_Design_Coordinates() does not affect previously rendered glyphs
</td>
</tr>
<tr>
<th>Product</th>
<td>cairo
</td>
</tr>
<tr>
<th>Version</th>
<td>unspecified
</td>
</tr>
<tr>
<th>Hardware</th>
<td>Other
</td>
</tr>
<tr>
<th>OS</th>
<td>All
</td>
</tr>
<tr>
<th>Status</th>
<td>NEW
</td>
</tr>
<tr>
<th>Severity</th>
<td>normal
</td>
</tr>
<tr>
<th>Priority</th>
<td>medium
</td>
</tr>
<tr>
<th>Component</th>
<td>freetype font backend
</td>
</tr>
<tr>
<th>Assignee</th>
<td>david@freetype.org
</td>
</tr>
<tr>
<th>Reporter</th>
<td>khaledhosny@eglug.org
</td>
</tr>
<tr>
<th>QA Contact</th>
<td>cairo-bugs@cairographics.org
</td>
</tr></table>
<p>
<div>
<pre>Created <span class=""><a href="attachment.cgi?id=134130" name="attach_134130" title="Test program">attachment 134130</a> <a href="attachment.cgi?id=134130&action=edit" title="Test program">[details]</a></span>
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.</pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are the QA Contact for the bug.</li>
</ul>
</body>
</html>