[Fontconfig-bugs] [Bug 105756] Can't match font family name by their localized name

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Tue Mar 27 09:28:04 UTC 2018


https://bugs.freedesktop.org/show_bug.cgi?id=105756

--- Comment #2 from Akira TAGOH <akira at tagoh.org> ---
Behdad, you said on the commit log:

commit 161c7385477b9520fc4c63e3f09789d217c5cd67
Author: Behdad Esfahbod <behdad at behdad.org>
Date:   Wed Sep 27 18:36:25 2017 -0400

    Use binary-search for finding name table entries

    VotoSerifGX has over 500 named instances, which means it also has over a
thousand
    name table entries.  So we were looking for names for over 500 pattern,
looking for
    some thirty different name-ids, and using linear search across the 1000
entries!

    Makes scanning VotoSerifGX three times faster.  The rest is probably the
lang
    matching, which can also be shared across named-instances.  Upcoming.

Is it not yet completed? apparently this change picks up one entry for giving
platform_id and name_id. thus other variant names which has different
language_id in SFNT is missing in the cache.
I don't know how/what GX fonts has in SFNT table though.

-- 
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/20180327/f7a58c56/attachment.html>


More information about the Fontconfig-bugs mailing list