Bug 58248

Summary: Architecture-agnostic cache format
Product: fontconfig Reporter: Ross Burton <ross>
Component: libraryAssignee: fontconfig-bugs
Status: RESOLVED NOTABUG QA Contact: Behdad Esfahbod <freedesktop>
Severity: enhancement    
Priority: medium CC: freedesktop
Version: 2.9   
Hardware: All   
OS: All   
Whiteboard:
i915 platform: i915 features:

Description Ross Burton 2012-12-13 15:50:25 UTC
Does the cache really need to be architecture-specific?  Surely the bulk of it is strings so only numbers need to be wrapped in fixed-size/fixed-endian functions.
Comment 1 Behdad Esfahbod 2012-12-13 17:17:12 UTC
Ross, that's true, however, we mmap the cache and return pointers to data within it to the user, in type of structs that are public and part of fontconfig API.  So, it's impossible to change the format without changing the API.  And that would be fontconfig3.

Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.