Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Rewrite fonconfig cache #43

Open
abitrolly opened this issue Dec 20, 2020 · 2 comments
Open

Rewrite fonconfig cache #43

abitrolly opened this issue Dec 20, 2020 · 2 comments

Comments

@abitrolly
Copy link
Member

abitrolly commented Dec 20, 2020

Looks like fc-cache causes way to much problems with an application startup times. There is at least two reports about it from Canonical.

And the same issue seems to affecting BleachBit users (which uses Gtk, which uses fontconfig).

The solution

  1. Get the specification of fontconfig cache format.
  2. Make sure there a font database that uses hashes instead of path.
  3. Make sure font database is shared among processes.
  4. Build only a subset of using fonts.
  5. Build font cache incremementally.
  6. Expose stats about time that it takes to discover, build and store fonts. Both realtime and historical.
  7. Get at least one alternative implementation in Go or Python, and cover interop with tests.
  8. Write separate love story for google-noto font bomb.
@abitrolly
Copy link
Member Author

Links:

@abitrolly
Copy link
Member Author

See also bleachbit/bleachbit#1072

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant