mohsen.nikroo Posted April 9, 2013 Posted April 9, 2013 Hi. I want to use right to left language (farsi). I copy farsi font to data/core/gui path but characters were left to right and separately. How can I set right to left. thanks.
lars.saalbach Posted April 10, 2013 Posted April 10, 2013 Hey, didn't see such a solution aswell. A way to provide this would be a loop which runs through all characters/words in the Label e.g. and build them in the other way anew together. That's not that performant but if you haven't that much text to display it would work so. At all this could be a static functionality where you pass the Widget into so you don't need to write the same solution always anew. Greetings Lars
frustum Posted April 11, 2013 Posted April 11, 2013 Can you summarize all right to left text rendering requirements?<br />If you need only basic rendering without text editing it's not a big problem for us.<br />But it can be a problem if you require text editing and some other complex text manipulations.
vadim.sergeev Posted October 8, 2013 Posted October 8, 2013 What about CJK characters when build glyths from *.ttf/*.otf file?You use utf-8 for internal string representation but convert them to utf-32 when rendering?
frustum Posted November 4, 2013 Posted November 4, 2013 All string are represented as UTF8. 32-bit wide chars are used only during text rendering. 32-bits are quite enough to cover all CJK symbols. Right to left and top to bottom text rendering is not in the road-map this year.
Recommended Posts