summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorBehdad Esfahbod <behdad@behdad.org>2014-06-09 21:53:01 -0400
committerBehdad Esfahbod <behdad@behdad.org>2014-06-12 17:02:10 -0400
commit75abdaf5c8e8b14c3e9e94ff5c563091594a32cf (patch)
tree9502d62093e20d402ac45628c2a29a33cd1dfdb5 /doc
parentcd9631d83e51bab95413a8aa0e8ecc68f3e3a0fc (diff)
Deprecate FC_HASH and don't compute it
It was added without proper measurement and a fuzzy possible use-case (font servers) in mind, but reality check shows that this significantly slows down caching. As such, deprecate it and do NOT compute hash during caching. Makes caching two to three times faster (ignoring the 2 second delay in fc-cache).
Diffstat (limited to 'doc')
-rw-r--r--doc/fontconfig-devel.sgml2
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/fontconfig-devel.sgml b/doc/fontconfig-devel.sgml
index e2cb1c28..2b1122f1 100644
--- a/doc/fontconfig-devel.sgml
+++ b/doc/fontconfig-devel.sgml
@@ -198,7 +198,7 @@ convenience for the application's rendering mechanism.
stylelang and fullnamelang
prgname FC_PRGNAME String Name of the running program
hash FC_HASH String SHA256 hash value of the font data
- with "sha256:" prefix.
+ with "sha256:" prefix (deprecated)
postscriptname FC_POSTSCRIPT_NAME String Font name in PostScript
</programlisting>
</sect2>