15 Jun 2012 04:15
hasdirectionallayout & fonts (openlaszlo 4.9.0, swf10)
hi-
i am using a font in my application, and some of the text views have hasdirectionallayout="true", but the
font doesn't render:
===
<canvas width="100%" height="100%">
<simplelayout axis="y" spacing="10"/>
<font name="verdanaBold" src="verdanaBold.ttf"/>
<text font="verdanaBold">FONT OK</text>
<text font="verdanaBold" hasdirectionallayout="true">FONT NOT OK</text>
</canvas>
===
the first text view "FONT OK" renders with my verdana bold font, but the second text view "FONT NOT OK" does
not render with my verdana bold font.
how can i use bidirectional text support (via hasdirectionallayout) and custom fonts to work properly?
thanks,
augusto.
RSS Feed