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 1931

Summary: Regression : Thai & Hindi Font are no more rendered !
Product: SDL_ttf Reporter: Sylvain <sylvain.becker>
Component: miscAssignee: Sam Lantinga <slouken>
Status: RESOLVED FIXED QA Contact: Sam Lantinga <slouken>
Severity: major    
Priority: P2    
Version: unspecified   
Hardware: All   
OS: All   
Attachments: example
font thai

Description Sylvain 2013-06-27 02:37:49 UTC
Created attachment 1198 [details]
example

Hey.

It seems to me this is a regression.

Some font : Thai and Hindi for instance are not more rendered (squares!).
many others : Latin, Chineese etc. are still fine.


This is a regression in SDL_ttf.c with the commit : 
  "Switched the default code path to be UTF-8"

The Bug still appears in the latest version of Trunk.


See example attached : c file + font.ttf


thanks,

Sylvain
Comment 1 Sylvain 2013-06-27 02:38:19 UTC
Created attachment 1199 [details]
font thai
Comment 2 Sam Lantinga 2013-06-29 16:22:07 UTC
Fixed, thanks!
http://hg.libsdl.org/SDL_ttf/rev/83de51e7a428