[Fontconfig] Can we use base 16, and not 85, for ASCII charset representations?

Behdad Esfahbod behdad at behdad.org
Mon Sep 23 11:25:45 PDT 2013


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 13-09-21 08:26 PM, W. Trevor King wrote:
> I don't think saving three characters (37.5%) is worth the hassle of 
> learning a fontconfig-specific set of digits for base 85.

Agreed.  Back when this code was written fontconfig was storing font caches
in ASCII, so that representation was invented to store as much as possible.
 These days, it's irrelevant, so I agree that we should change it to
something human-readable.  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}

- -- 
behdad
http://behdad.org/
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/

iEYEARECAAYFAlJAh6AACgkQn+4E5dNTERVt6gCaA1Qkvret66e9Px3zzVvvaVvf
tT4AniWSohwWOIuUVLAsIZe1uKjXjR0W
=fBpP
-----END PGP SIGNATURE-----


More information about the Fontconfig mailing list