Re: Can we use base 16, and not 85, for ASCII charset representations?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Mon, Sep 23, 2013 at 02:25:45PM -0400, Behdad Esfahbod wrote:
> Also, make it easy to ask for fonts having a specific character by
> making it easy to parse a simple set, something like this for
> example:
> 
> $ fc-match :charset={06cc,064a}

I haven't had time to look this up yet, but I imagine fontconfig
currently only matches charsets exactly.  It would be nice to search
for “all fonts containing at least <charset>”.  “all fonts containing
a charset that exactly matches <charset>” doesn't seem as useful, but
perhaps “all fonts containing any of <charset>” may be useful.
Borrowing from set theory, how about:

  :charset={06cc,064a}
     All fonts whose charset exactly matches {06cc,064a}.
  :charset=n{06cc,064a}
     The intersection of {06cc,064a} and the font's charset is not
     empty (all fonts containing any of {06cc,064a})
  :charset=>{06cc,064a}
     {06cc,064a} is a subset of the font's charset (all fonts
     containing at least {06cc,064a})
  :charset=<{06cc,064a}
     {06cc,064a} is a superset of the font's charset (all fonts
     containing no characters outside of {06cc,064a})

I'm mostly interested in the subset query (>{XXXX,…}).  Do folks want
any of the others?

Cheers,
Trevor

-- 
This email may be signed or encrypted with GnuPG (http://www.gnupg.org).
For more information, see http://en.wikipedia.org/wiki/Pretty_Good_Privacy

Attachment: signature.asc
Description: OpenPGP digital signature

_______________________________________________
Fontconfig mailing list
Fontconfig@xxxxxxxxxxxxxxxxxxxxx
http://lists.freedesktop.org/mailman/listinfo/fontconfig

[Index of Archives]     [Fedora Fonts]     [Fedora Users]     [Fedora Cloud]     [Kernel]     [Fedora Packaging]     [Fedora Desktop]     [PAM]     [Gimp Graphics Editor]     [Yosemite News]

  Powered by Linux