| Summary: | Save some memory in TTF_Font | ||
|---|---|---|---|
| Product: | SDL_ttf | Reporter: | Sylvain <sylvain.becker> |
| Component: | misc | Assignee: | Sam Lantinga <slouken> |
| Status: | RESOLVED INVALID | QA Contact: | Sam Lantinga <slouken> |
| Severity: | normal | ||
| Priority: | P2 | ||
| Version: | unspecified | ||
| Hardware: | x86_64 | ||
| OS: | Linux | ||
| Attachments: |
patch
patch |
||
|
Description
Sylvain
2018-11-15 17:16:50 UTC
Created attachment 3496 [details]
patch
Because we cache the whole FT_Bitmap structure but not all datas are needed.
(and also FT_Bitmap structure is not packed)
Created attachment 3497 [details]
patch
Update the patch.
Small change: turn rows/width into "int". It reverts previously added "unsigned rows/width" for fixing warnings.
Discarded, will be part of #4361 |