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 1951

Summary: add a function to select the char map
Product: SDL_ttf Reporter: Matthias Kievernagel <mkiever>
Component: miscAssignee: Sam Lantinga <slouken>
Status: ASSIGNED --- QA Contact: Sam Lantinga <slouken>
Severity: enhancement    
Priority: P2    
Version: 2.0.11   
Hardware: All   
OS: All   
Attachments: C source of SelectCharMap

Description Matthias Kievernagel 2013-07-10 04:43:03 UTC
Created attachment 1216 [details]
C source of SelectCharMap

See discussion on the forum:
http://forums.libsdl.org/viewtopic.php?t=9228

As noted there, I guess error handling has to be changed
to suit library style.
Currently, it returns 0 for "no error, charmap changed successfully"
and 1 for "error, invalid parameter or charmap not found".

Regards,
Matthias Kievernagel
Comment 1 Sam Lantinga 2017-09-10 05:43:33 UTC
This is a good idea, and is on the list for a future release.