[Fontconfig-bugs] [Bug 90330] Preserve binding when preparing patterns
bugzilla-daemon at freedesktop.org
bugzilla-daemon at freedesktop.org
Tue May 5 18:58:21 PDT 2015
https://bugs.freedesktop.org/show_bug.cgi?id=90330
--- Comment #2 from Behdad Esfahbod <freedesktop at behdad.org> ---
Created attachment 115569
--> https://bugs.freedesktop.org/attachment.cgi?id=115569&action=edit
Patch
Sample patch attached. It slightly slows down matching, but should be fine.
We might need to go loosen up some of the binding="same" from
30-metric-aliases.conf after we expose this.
With this patch:
behdad:src 0$ ../fc-match/fc-match 'arial,nazli' --sort --verbose | grep
'family:' | head
family: "Arial"(s)
family: "Arial"(s)
family: "Liberation Sans"(s)
family: "Nimbus Sans L"(w)
family: "DejaVu Serif"(w)
family: "DejaVu Serif"(w)
family: "DejaVu Serif"(w)
family: "DejaVu Serif"(w)
family: "Kinnari"(w)
family: "Norasi"(w)
without this patch:
ehdad:src 0$ ../fc-match/fc-match 'arial,nazli' --sort --verbose | grep
'family:' | head
family: "Arial"(s)
family: "Arial"(s)
family: "Liberation Sans"(s)
family: "Nimbus Sans L"(s)
family: "DejaVu Serif"(s)
family: "DejaVu Serif"(s)
family: "DejaVu Serif"(s)
family: "DejaVu Serif"(s)
family: "Kinnari"(s)
family: "Norasi"(s)
check the bindings.
--
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/20150506/bcf1dc46/attachment.html>
More information about the Fontconfig-bugs
mailing list