[Fontconfig-bugs] [Bug 50733] New: Add font-file hash?

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Tue Jun 5 07:53:31 PDT 2012


https://bugs.freedesktop.org/show_bug.cgi?id=50733

             Bug #: 50733
           Summary: Add font-file hash?
    Classification: Unclassified
           Product: fontconfig
           Version: 2.7
          Platform: Other
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: medium
         Component: library
        AssignedTo: fontconfig-bugs at lists.freedesktop.org
        ReportedBy: freedesktop at behdad.org
         QAContact: freedesktop at behdad.org


Would be useful I guess to add a sha256 or similar hash of the font file to the
pattern.  Applications can use it as some kind of a "unique id" across
processes for caching and other purposes.  I personally would happily consider
two fonts with the same sha256 hash to be the same file...  Also, may not need
to specify what hashing algorithm is used, just that it's "strong".  Then we
can upgrade to sha384, sha512, ... over time as we see fit.

-- 
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.


More information about the Fontconfig-bugs mailing list