Skip to content

Question: why is the default HarfBuzzShaper cache size 0? #190

@hajimehoshi

Description

@hajimehoshi

Yesterday, I found that HarfBuzzShaper's cache size was 0 and NewFont was called every time different texts are rendered:

This issue could be prevented by settings some cache size. I was wondering why 0 is the initial value. Would it be possible to have initial cache size to avoid future troubles like me?

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