| Summary: | SDL_ttf test app + patches to apply to FreeType-2.9.1 | ||
|---|---|---|---|
| Product: | SDL_ttf | Reporter: | Sylvain <sylvain.becker> |
| Component: | misc | Assignee: | Sam Lantinga <slouken> |
| Status: | WAITING --- | QA Contact: | Sam Lantinga <slouken> |
| Severity: | normal | ||
| Priority: | P2 | ||
| Version: | unspecified | ||
| Hardware: | x86_64 | ||
| OS: | Linux | ||
| Attachments: |
test app for SDL_ttf
fonts test app for SDL_ttf test app for SDL_ttf test app for SDL_ttf test app for SDL_ttf |
||
|
Description
Sylvain
2018-11-09 15:38:50 UTC
Created attachment 3481 [details]
fonts
The fonts archive
Great! I'll leave this open for us to use for SDL_ttf regression testing. I've applied the upstream fixes. Kudos! https://hg.libsdl.org/SDL_ttf/rev/f08df1ebbf08 Created attachment 3485 [details] test app for SDL_ttf Updated the test app with three defines so it can use: HAVE_STREAM_TEXTURE_FUNCTION (d to switch {render to surface, no render, render to texture}) Need patch to render to a streaming texture (bug 1399) HAVE_SET_FONT_SIZE_FUNCTION Need patch to set size dynamically (bug 2487) HAVE_ALL_WRAPPED_FUNCTIONS Need patch to have all wrapped functions (bug 4361) Created attachment 3493 [details]
test app for SDL_ttf
updates:
- correct missing to use of TTF_GetKerning() instead of TTF_GetFontHinting()
- better log message when changing size
Created attachment 3505 [details]
test app for SDL_ttf
Some update:
q/e : wrap size -/+
g/h : hinting -/+ (normal, light, light_subpix, mono, none)
m : render mode Solid/Blended/Shaded
F2 : save current rendering to .bmp
To try subpixel rendering:
- h -> hinting=light_supix
- m -> mode Blended or Shaded (but not solid)
- v -> change font to -> DejaVuSans.ttf (4th)
<space> change string to "iiiiiiiiii"
reduce/change size with up/down
Created attachment 3546 [details]
test app for SDL_ttf
Update the test app to allow changing text colours and alpha
|