[Fontconfig-bugs] [Bug 73461] New: Gaming of fc-lang check rules

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Thu Jan 9 21:20:27 PST 2014


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

          Priority: medium
            Bug ID: 73461
          Assignee: fontconfig-bugs at lists.freedesktop.org
           Summary: Gaming of fc-lang check rules
        QA Contact: freedesktop at behdad.org
          Severity: normal
    Classification: Unclassified
                OS: All
          Reporter: abelcheung at gmail.com
          Hardware: Other
            Status: NEW
           Version: unspecified
         Component: orth
           Product: fontconfig

This report is related to a patch against zh-hk.orth around 2006:

http://lists.freedesktop.org/archives/fontconfig/2006-January/001930.html

It adds an extra Plane 2 code point for determining font supporting Hong Kong
characters.

Recently I discovered certain font tries to exploit this check, and only
created a *single glyph* in CJK extension B in order to claim it supports
zh-hk. I supposed it happened long time ago but nobody noticed. The font
concerned is open for download and is actually default font for certain
language in certain OS.

So I wonder if determining a policy like this would make sense or not: on orth
checks, a certain ballpark percentage of glyphs shall be done in order to claim
support, while (1) spreading the glyphs distribution more evenly, and/or (2)
create a list of more representative code points reflecting general use of the
language when range is large.

-- 
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/20140110/99d79185/attachment.html>


More information about the Fontconfig-bugs mailing list