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 - expose FreeType hinting preferences
Summary: expose FreeType hinting preferences
Status: RESOLVED FIXED
Alias: None
Product: SDL_ttf
Classification: Unclassified
Component: misc (show other bugs)
Version: unspecified
Hardware: All All
: P2 enhancement
Assignee: Sam Lantinga
QA Contact: Sam Lantinga
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-09-04 18:05 UTC by Gregory Smith
Modified: 2009-09-26 14:33 UTC (History)
0 users

See Also:


Attachments
sdl-ttf-expose-hinting.patch (1.93 KB, patch)
2008-09-04 18:05 UTC, Gregory Smith
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
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.