Skip to content

Rewrite fonconfig cache #43

@abitrolly

Description

@abitrolly

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions