<div dir="ltr"><div class="gmail_extra"><div class="gmail_quote">On Tue, Sep 1, 2015 at 4:01 PM, Fabian Greffrath <span dir="ltr"><<a href="mailto:fabian@greffrath.com" target="_blank">fabian@greffrath.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">Hi Akira,<br>
<span class=""><br>
Am Dienstag, den 01.09.2015, 15:36 +0900 schrieb Akira TAGOH:<br>
> p052023l.pfb and uplri8a.pfb should has same score on evaluating.<br>
<br>
</span>p052023l.pfb features a wider glyph coverage, so it should get a higher<br>
score.<br>
</blockquote><div><br></div>If you add any patterns about the glyph coverage, you're right and fontconfig will behaves like that. otherwise there should be no different in score between both fonts as your example did.<div class="gmail_extra"><br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">score. Also, how come that p052023l.pfb is always sorted before<br></blockquote><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">uplri8a.pfb in the initial FcSortList() step, although the latter<br>
appears first in the unsorted set created by FcFontList()?<br></blockquote><div><br></div><div> Assuming you're talking about the case of fontset2, the result is different because both of the pattern for the first FcFontSort() and the second FcFontSetSort() is different.</div><div>the result of FcFontSort() is sorted out by the condition of "outline=true" and the result of FcFontSetSort() is sorted out by the condition of "family=URW Palladio L" on the result of the above. if you want to see more details how fontconfig figures out the result on the sort, run your application with FC_DEBUG=3 or compare the result of fc-match -a :outline=true and fc-match -a "URW Palladio L".</div><div><br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">
<span class=""><font color="#888888"><br>
 - Fabian<br>
</font></span></blockquote></div><br><br clear="all"><div><br></div>-- <br><div class="gmail_signature">Akira TAGOH</div>
</div></div>