[Fontconfig-bugs] [Bug 80873] Improve size unparse?
bugzilla-daemon at freedesktop.org
bugzilla-daemon at freedesktop.org
Sun Jul 6 16:09:09 PDT 2014
https://bugs.freedesktop.org/show_bug.cgi?id=80873
--- Comment #6 from Behdad Esfahbod <freedesktop at behdad.org> ---
(In reply to comment #5)
> (In reply to comment #3)
> > I don't like NOT showing something that is set. Why is it set anyway?
> >
> > Given that a missing SIZE will match with score 0,
>
> This isn't correct. the default score is 1e99 and mismatch is 0. so if the
> certain value to evaluate is missing, that score is always 1e99 but the
> score for a font which has a value will be 0 on mismatch.
> that is the reason why we have to have something for objects affecting
> scoring.
Are you sure?! My understanding is that if either the pattern or font doesn't
an element, that counts as a perfect match, ie. score 0:
static FcBool
FcCompare (FcPattern *pat,
FcPattern *fnt,
double *value,
FcResult *result)
{
int i, i1, i2;
for (i = 0; i < PRI_END; i++)
value[i] = 0.0;
--
You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/fontconfig-bugs/attachments/20140706/eaba59b3/attachment.html>
More information about the Fontconfig-bugs
mailing list