[Fontconfig-bugs] [Bug 62980] New: matching native fonts with even :lang=en
bugzilla-daemon at freedesktop.org
bugzilla-daemon at freedesktop.org
Mon Apr 1 00:31:40 PDT 2013
https://bugs.freedesktop.org/show_bug.cgi?id=62980
Priority: medium
Bug ID: 62980
Assignee: fontconfig-bugs at lists.freedesktop.org
Summary: matching native fonts with even :lang=en
QA Contact: freedesktop at behdad.org
Severity: normal
Classification: Unclassified
OS: All
Reporter: akira at tagoh.org
Hardware: Other
Status: NEW
Version: unspecified
Component: library
Product: fontconfig
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
^
--
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/fontconfig-bugs/attachments/20130401/f77f1dd7/attachment.html>
More information about the Fontconfig-bugs
mailing list