commit | ad306eaa5e0675c623f823230b7962f401109c43 | [log] [tgz] |
---|---|---|
author | Werner Lemberg <wl@gnu.org> | Sun Dec 20 08:33:21 2015 +0100 |
committer | Werner Lemberg <wl@gnu.org> | Sun Dec 20 08:33:21 2015 +0100 |
tree | c388e4790b356be1b6cebb188cd3b41ad4f75619 | |
parent | 1b7549ccc71c121439974359513d5aa53f9cc910 [diff] |
[base, bdf] Add number hashing. * src/base/fthash.c (hash_num_lookup, hash_num_compare): New functions. (ft_hash_init): Add argument to select between number and string hashing. (ft_hash_num_insert, ft_hash_num_lookup): New functions. * include/freetype/internal/fthash.h: Updated. * src/bdf/bdflib.c (_bdf_parse_start): Updated.