Arial.ttf is not bold, so it is thrown off when you set fontWeight to bold.

<?xml version="1.0" encoding="utf-8"?> <mx:Application
xmlns:mx="http://www.adobe.com/2006/mxml"; layout="absolute">     <mx:Style>
@font-face { fontFamily:myfont; src:url("arial.ttf"); }        .myStyle {
fontFamily:myfont; }     </mx:Style>        <mx:Label text="TEST TEXT"
fontSize="14" x="200" width="200" rotation="70"         styleName="myStyle"
textAlign="center"/> </mx:Application>







On 1/5/07 12:57 PM, "tinkiknit" <[EMAIL PROTECTED]> wrote:

>  
>  
>  
> 
> Hi all...
> 
> Ok, I searched all afternoon on this group for the solution to this
> to no avail.  Here is what I have (when I set the rotation property
> to anything the text disappears)...
> 
> <mx:VBox xmlns:mx="http://www.adobe.com/2006/mxml"; maxWidth="19"
> verticalScrollPolicy="off" horizontalScrollPolicy="off"
> paddingTop="130" paddingRight="3" paddingLeft="3">
> 
> <mx:Style>
> @font-face { fontFamily:myfont; src:url("arial.ttf"); }
> .myStyle { fontFamily:myfont; fontWeight:bold;}
> </mx:Style>
> 
> <mx:Label text="TEST TEXT" fontWeight="bold" fontSize="14"
> styleName="myStyle"  textAlign="center" fontFamily="myfont"/>
> 
> </mx:VBox>
> 
> thanks for any help...
> 
> Christine
> 
>  
>     


Reply via email to