<html>
<head>
<base href="https://bugs.freedesktop.org/" />
</head>
<body><span class="vcard"><a class="email" href="mailto:freedesktop@behdad.org" title="Behdad Esfahbod <freedesktop@behdad.org>"> <span class="fn">Behdad Esfahbod</span></a>
</span> changed
<a class="bz_bug_link
bz_status_NEW "
title="NEW --- - webfonts support?"
href="https://bugs.freedesktop.org/show_bug.cgi?id=63096">bug 63096</a>
<br>
<table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>What</th>
<th>Removed</th>
<th>Added</th>
</tr>
<tr>
<td style="text-align:right;">CC</td>
<td>
</td>
<td>freedesktop@behdad.org
</td>
</tr></table>
<p>
<div>
<b><a class="bz_bug_link
bz_status_NEW "
title="NEW --- - webfonts support?"
href="https://bugs.freedesktop.org/show_bug.cgi?id=63096#c1">Comment # 1</a>
on <a class="bz_bug_link
bz_status_NEW "
title="NEW --- - webfonts support?"
href="https://bugs.freedesktop.org/show_bug.cgi?id=63096">bug 63096</a>
from <span class="vcard"><a class="email" href="mailto:freedesktop@behdad.org" title="Behdad Esfahbod <freedesktop@behdad.org>"> <span class="fn">Behdad Esfahbod</span></a>
</span></b>
<pre>(In reply to <a href="show_bug.cgi?id=63096#c0">comment #0</a>)
<span class="quote">> firefox is calling FcFreeTypeQueryFace for webfonts like this:
>
> pattern =
> (*sQueryFacePtr)(mFace, gfxFontconfigUtils::ToFcChar8(""), 0,
> NULL);
>
> This fails now because we require the valid filename to generate hash value
> and if not, simply fails because the matcher behaves wrong if some objects
> are available or unavailable in the cache.</span >
In FcFreeTypeQueryFace (as opposed to FcFreeTypeQuery) we should use
FT_Load_Sfnt_Table() to get the font data and hash that.
<span class="quote">> One idea to support this case is to define constant value and add an invalid
> hash to the cache?
>
> FWIW FcPatternDel should warn if one is going to delete objects which is in
> the matcher perhaps.</span >
Humm. Not sure about that.
The matcher should not fail if something is missing. It should simply not
match.</pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are the assignee for the bug.</li>
</ul>
</body>
</html>