The <inputtext> with hasdirectionallayout set to true uses the Adobe Text-Layout-Framework instead of a simple Flash textfield. TLF based text components need to embed fonts with an extra property embedAsCFF: http://help.adobe.com/en_US/flex/using/WS2db454920e96a9e51e63e3d11c0bf69084-7f5f.html
The corresponding attribute on the font tag in OpenLaszlo is "embedascff". This should work, I've tested with 5.0 trunk. <canvas width="100%" height="100%"> <font name="mouser" src="mouser.ttf" embedascff="false"/> <font name="mousercff" src="mouser.ttf" embedascff="true"/> <inputtext x="0" y="0" font="mouser" fontsize="32" height="40" width="100">first</inputtext> <inputtext x="0" y="80" font="mousercff" fontsize="32" height="40" width="100" hasdirectionallayout="true" direction="ltr">second</inputtext> </canvas> - Raju
