Skip to content

Enhance FontCache to actually cache fonts, hand out lazy refs #77

@burg

Description

@burg

The FontCache (née FontLibrary) is a per-task object that knows how to create fonts. It hands out Font objects, which hold native font refs as well as the font file binary.

The font cache should not hand out Font objects; rather, it should hand out FontHandles which lazily cause the loading of fonts, and proxy calls such as measureText. This allows the FontCache to implement any number of caching strategies based on time, number of font requests, etc.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions