<html>
<head>
<base href="https://bugs.freedesktop.org/" />
</head>
<body><table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>Priority</th>
<td>medium
</td>
</tr>
<tr>
<th>Bug ID</th>
<td><a class="bz_bug_link
bz_status_NEW "
title="NEW --- - matching native fonts with even :lang=en"
href="https://bugs.freedesktop.org/show_bug.cgi?id=62980">62980</a>
</td>
</tr>
<tr>
<th>Assignee</th>
<td>fontconfig-bugs@lists.freedesktop.org
</td>
</tr>
<tr>
<th>Summary</th>
<td>matching native fonts with even :lang=en
</td>
</tr>
<tr>
<th>QA Contact</th>
<td>freedesktop@behdad.org
</td>
</tr>
<tr>
<th>Severity</th>
<td>normal
</td>
</tr>
<tr>
<th>Classification</th>
<td>Unclassified
</td>
</tr>
<tr>
<th>OS</th>
<td>All
</td>
</tr>
<tr>
<th>Reporter</th>
<td>akira@tagoh.org
</td>
</tr>
<tr>
<th>Hardware</th>
<td>Other
</td>
</tr>
<tr>
<th>Status</th>
<td>NEW
</td>
</tr>
<tr>
<th>Version</th>
<td>unspecified
</td>
</tr>
<tr>
<th>Component</th>
<td>library
</td>
</tr>
<tr>
<th>Product</th>
<td>fontconfig
</td>
</tr></table>
<p>
<div>
<pre>This diffference in the matching behavior was introduced by
4eab908c8679a797ac7016b77a93ee41bb11b0fc, due to dealing with FC_LANG
separately for strong and weak and also difference of looking up order in
strong and weak. so lang in strong gives a priority than family in weak.
The following mark is a position of FC_LANG in score. on 2.10.91 or before,
family in weak (17 vs 2) is used to determine the better fonts because the
score of FC_LANG is same (1), on 2.10.92, former one is used because FC_LANG in
weak (2 vs 2002) has different score.
On 2.10.92:
Score 0 0 0 0 0 0 0 0 1001 1 0 2 17 0 0 0 0 0 0 0 1 1e+99 20001 1e+99 1 1e+99 1
1e+99 0 0 0 0 0 0 2.14735e+12 1e+99
Score 0 0 0 0 0 0 0 0 1001 1 0 2002 2 0 0 0 0 0 0 0 1 1e+99 20001 1e+99 1 1e+99
1 1e+99 0 0 0 0 0 0 2.14741e+12 1e+99
^ ^
On 2.10.91 or before:
Score 0 0 0 1001 1 17 0 0 0 1 20001 1 1 0 0 0 2.14735e+12
Score 0 0 0 1001 1 2 0 0 0 1 20001 1 1 0 0 0 2.14741e+12
^</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>