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 - Regression : Thai & Hindi Font are no more rendered !
Summary: Regression : Thai & Hindi Font are no more rendered !
Status: RESOLVED FIXED
Alias: None
Product: SDL_ttf
Classification: Unclassified
Component: misc (show other bugs)
Version: unspecified
Hardware: All All
: P2 major
Assignee: Sam Lantinga
QA Contact: Sam Lantinga
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-06-27 02:37 UTC by Sylvain
Modified: 2013-06-29 16:22 UTC (History)
0 users

See Also:


Attachments
example (2.20 KB, text/x-csrc)
2013-06-27 02:37 UTC, Sylvain
Details
font thai (34.65 KB, application/x-font-ttf)
2013-06-27 02:38 UTC, Sylvain
Details

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