[Fontconfig-bugs] [Bug 105756] Can't match font family name by their localized name
bugzilla-daemon at freedesktop.org
bugzilla-daemon at freedesktop.org
Sat Mar 31 17:20:46 UTC 2018
https://bugs.freedesktop.org/show_bug.cgi?id=105756
Behdad Esfahbod <freedesktop at behdad.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|ASSIGNED |RESOLVED
Resolution|--- |FIXED
--- Comment #4 from Behdad Esfahbod <freedesktop at behdad.org> ---
Should be fixed in master. Please test. Thanks.
commit a8a6efa805fc03e790214e8a0bc55843a258d774 (HEAD -> master, origin/master)
Author: Behdad Esfahbod <behdad at behdad.org>
Date: Sat Mar 31 19:19:36 2018 +0200
Share name-mapping across instances
Continuation of previous commit.
Makes scanning Voto Serif GX fast again.
commit fa13f8835c2819e693c7250e0d6729e22f0509c2
Author: Behdad Esfahbod <behdad at behdad.org>
Date: Sat Mar 31 18:36:20 2018 +0200
Fix name scanning
In 161c738 I switched from linear name scanning to binary searching.
That, however, ignored the fact that there might be more than one
name table entry for each pair we want to query.
To fix that and retain bsearch, I now get all name entries first,
sort them, and use for bsearching.
This fixes https://bugs.freedesktop.org/show_bug.cgi?id=105756
This makes scaning Voto Serif GX twice slower though, since we are
creating and sorting the list for each instance. In the next commit,
I'll share this list across different instances to fix this.
--
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/fontconfig-bugs/attachments/20180331/f96f5a32/attachment.html>
More information about the Fontconfig-bugs
mailing list