Unable to use "HelveticaLtEx" font in Flex project -



Unable to use "HelveticaLtEx" font in Flex project -

unable utilize "helveticaltex" font.

<?xml version="1.0" encoding="utf-8"?> <mx:application xmlns:mx="http://www.adobe.com/2006/mxml" width="100%" height="100%" fontfamily="arial" fontsize="12" xmlns:ilog="http://www.ilog.com/2007/ilog/flex" xmlns:local="c7.views.apps.calendar.*" backgroundcolor="#ffffff"> <mx:style> @font-face { src:url("assets/cloud_main/font/helveticaneueltstd-ltex.otf"); fontfamily: helveticaltex; } .datestyle{ font-family: "helveticaltex"; fontsize: 18; } </mx:style> <mx:canvas> <mx:vbox> <mx:label text="testing testing testing" stylename="datestyle"/> </mx:vbox> </mx:canvas> </mx:application>

the bold , italics properties must match properties of font itself.

try these styles , see happens :

.datestyle{ font-family: "helveticaltex"; fontsize: 18; fontweight:bold; }

or :

.datestyle{ font-family: "helveticaltex"; fontsize: 18; fontstyle:italic; }

or :

.datestyle{ font-family: "helveticaltex"; fontsize: 18; fontweight:bold; fontstyle:italic; }

it work you, if not, allow me know , we'll seek else...

flex

Comments

Popular posts from this blog

iphone - Dismissing a UIAlertView -

intellij idea - Update external libraries with intelij and java -

javascript - send data from a new window to previous window in php -