[Fontconfig] Re: fontconfig support to exclude glyphs from fonts

Keith Packard keithp at keithp.com
Wed Jun 28 20:03:42 PDT 2006


On Wed, 2006-06-28 at 16:15 -0700, Jay Hobson wrote:

>     The patch adds two new tags to supported XML tag list. The tags work 
> in conjuction with other tags already present in the library. The tags 
> require fonts.conf or its included counterparts to be amended, detailing 
> languages to restrict in specified families. The first added tag "hide" 
> documents which languages are restricted from use for the family. The 
> second tag "only" documents which languages the family is allowed to 
> support.

We've been discussing this here at Guadec and decided that what we
really want to do is ban unicode codepoint sets from certain fonts. As
fontconfig computes said ranges, it should be reasonably easy to add a
match/edit phase to font scanning and edit the unicode codepoint set
before creating the cache file. It means that changes to this would
require manual regeneration of the cache, but it also means that the
glyphs wouldn't ever be shown from those fonts as higher level libraries
use that codepoint set to select fonts for each glyph.

-- 
keith.packard at intel.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
Url : http://lists.freedesktop.org/archives/fontconfig/attachments/20060629/157edb44/attachment-0001.pgp


More information about the Fontconfig mailing list