We are currently migrating Bugzilla to GitHub issues.
Any changes made to the bug tracker now will be lost, so please do not post new bugs or make changes to them.
When we're done, all bug URLs will redirect to their equivalent location on the new bug tracker.

Bug 623

Summary: expose FreeType hinting preferences
Product: SDL_ttf Reporter: Gregory Smith <wolfy>
Component: miscAssignee: Sam Lantinga <slouken>
Status: RESOLVED FIXED QA Contact: Sam Lantinga <slouken>
Severity: enhancement    
Priority: P2    
Version: unspecified   
Hardware: All   
OS: All   
Attachments: sdl-ttf-expose-hinting.patch

Description Gregory Smith 2008-09-04 18:05:28 UTC
This patch allows setting the hinting style of each TTF_Font. The options are none, light, mono(chrome), and normal/default. This is useful because it allows access to FreeType's slight hinter, which IMO looks much better for in-game interfaces.
Comment 1 Gregory Smith 2008-09-04 18:05:55 UTC
Created attachment 273 [details]
sdl-ttf-expose-hinting.patch
Comment 2 Sam Lantinga 2009-09-26 01:31:07 UTC
Thank you very much for your patch!

Do you give me permission to release your code with SDL 1.3 and future versions of SDL under both the LGPL and a closed-source commercial license?
Comment 3 Gregory Smith 2009-09-26 08:28:59 UTC
Yes, you may use this patch as you described.
Comment 4 Sam Lantinga 2009-09-26 14:33:24 UTC
Thanks!  Your changes are in for the next release.