Skip to content

SDL_font too many file handle #156

@Xenega

Description

@Xenega

We have to create a SDL_font for each size we use. Each SDL_font have a file handle. With 3 font and 100 different sizes, we have a lot of handle for nothing. And in some OS we can exceed the limit of file handle.

Unfortunely, SDL_ttf do not provide solution that works and avoids our problem.

So, the solution have thought is to create a in memory file and make SDL Font link to it.

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