http://bugs.freedesktop.org/show_bug.cgi?id=18724
Summary: RFE: font merging Product: fontconfig Version: 2.6 Platform: Other OS/Version: All Status: NEW Severity: enhancement Priority: medium Component: library AssignedTo: keithp@keithp.com ReportedBy: nicolas.mailhot@laposte.net CC: fedora-fonts-bugs-list@redhat.com
Several major fonts like Arial and Droid Sans are created in two parts: a core multifaced part and an Unicode extension (Arial Unicode, Droid Sans Fallback). Splitting in two file sets allows people who do not need the extension part to avoid installing it (since the extension is usually huge)
For historic reasons the two parts use different font family names, even though from a functional user POW they are just two components of a single family.
There should be a documented way in fontconfig for font distributors to specify via a config file "font foo is an extension of font bar, use it preferably when bar is missing glyphs, do not show it as a separate item in font lists and only allow access to the foo family when an application asks explicitely for it"
http://bugs.freedesktop.org/show_bug.cgi?id=18724
--- Comment #1 from Nicolas Mailhot nicolas.mailhot@laposte.net 2008-11-27 01:23:40 PST --- Make "documented way" a "documented fonts.conf config pattern".
http://bugs.freedesktop.org/show_bug.cgi?id=18724
--- Comment #2 from Behdad Esfahbod freedesktop@behdad.org 2008-12-28 00:18:09 PST --- I think a target="scan" pattern should work here.
http://bugs.freedesktop.org/show_bug.cgi?id=18724
--- Comment #3 from Behdad Esfahbod freedesktop@behdad.org 2008-12-28 00:19:37 PST --- Nicolas, try something like this:
<match target="scan"> <test name="family"> <string>Arial Unicode</string> </test> <edit name="family"> <string>Arial</string> </edit> </match>
You then need to force fc-cache to recache.
http://bugs.freedesktop.org/show_bug.cgi?id=18724
Behdad Esfahbod freedesktop@behdad.org changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |freedesktop@behdad.org
--- Comment #4 from Behdad Esfahbod freedesktop@behdad.org 2009-07-25 13:22:52 PST --- Nicolas, did you try that?
http://bugs.freedesktop.org/show_bug.cgi?id=18724
--- Comment #5 from Nicolas Mailhot nicolas.mailhot@laposte.net 2009-07-26 11:49:56 PST --- I tried it in the droid font package and no one complained, so it didn't break anything, but I didn't have the time to test it extensively.
I do wish CJK users spent some of their copious bugzilla time on it
https://bugs.freedesktop.org/show_bug.cgi?id=18724
Behdad Esfahbod freedesktop@behdad.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |NOTABUG
--- Comment #6 from Behdad Esfahbod freedesktop@behdad.org 2011-03-14 15:20:17 PDT --- Ok, closing for now.
fonts-bugs@lists.fedoraproject.org