Arabic, Hindi, etc...

52 views
Skip to first unread message

Michael Pope

unread,
Apr 4, 2013, 5:56:28 PM4/4/13
to freet...@googlegroups.com
Hi Nicolas, 

Nice job with this project. Thank you. 

Is there a way to print complex scripted languages? If you can point me quickly in the right direction I would appreciate it.

Is there a proper place to set the codepage?



Nicolas Rougier

unread,
Apr 5, 2013, 1:55:01 AM4/5/13
to freet...@googlegroups.com


Hi Michael,

Thank you. Currently, there is no way for complex scripted languages since freetype does not offer any API to handle them.
However, the harfbuzz library does just that and I intend to give it a try. There is a nice and simple example at:

https://github.com/lxnt/ex-sdl-freetype-harfbuzz

that shows how to use freetype with harfbuzz. If you're interested in "translating" this demo to freetype-gl that would a great addition (I can of course help you). If not, I intend to translate if anyway but most probably not before summer.


Nicolas
> --
> You received this message because you are subscribed to the Google Groups "freetype-gl" group.
> To unsubscribe from this group and stop receiving emails from it, send an email to freetype-gl...@googlegroups.com.
> For more options, visit https://groups.google.com/groups/opt_out.
>
>

Michael Pope

unread,
Apr 5, 2013, 10:00:14 AM4/5/13
to freet...@googlegroups.com
Yes, this is something I'm going to have to get around to working on. I will check out the link you sent me and see what can be done with freetype-gl.

I have a few projects going on myself at the moment so it may be a month or two before I get around to starting some work. 

I'll be in touch - perhaps this is something I can do or at least help you with. 


Cheers.

Nicolas Rougier

unread,
Apr 14, 2013, 5:28:54 AM4/14/13
to freet...@googlegroups.com


Hi Michael,

I've added some experimental support for complex script languages.
There is a screenshot on the freetype-gl page and the code is in the trunk. Hope that helps !


Regards,
Nicolas
Reply all
Reply to author
Forward
0 new messages