I have started a right-to-left language using TextFlow and RichEditableText.
I have trouble with kerning.
When using Hebrew with diacritical marks (and these are common), the kerning is not correct. Each diacritical glyph is made in a space after the character. (This did work with TextField). I tried setting Kerning ON, but that did not help.
textFlow = TextFlowUtil.importFromXML(textFlowXML, WhiteSpaceCollapse.PRESERVE);
format = new TextLayoutFormat();
format.color = 0x442222;
format.kerning = flash.text.engine.Kerning.ON;
textFlow.format = format;
richText.textFlow = textFlow;
The XML (start):
<div color="#442222" fontSize="20" paragraphSpaceAfter="0" textAlign="right" fontFamily="DavidD" >
<p name="p0"><span>פרק א</span></p>
א בְּרֵאשִׁית בָּרָא אֱלֹהִים אֵת הַשָּׁמַיִם וְאֵת הָאָרֶץ
This may be an issue with some Hebrew fonts lacking information that the Flash Text Engine expects. Can you please ask this queston on the TLF forum, since it is a basic rendering issue? The TLF engineers may have a definitive answer.
Adobe Flex SDK Team
Using TextLayoutFramework and a proper Hebrew font (like "Guttman Vilna") all is well. I don't know if trope marks work yet....