--- In [email protected], "Haykel BEN JEMIA" <[EMAIL PROTECTED]> wrote: > > It's not working for me by setting the blendMode to layer! It only works > with the embedded fonts, as expected. Here is my test application and as you > can see, scaling is only working on the lines using the embedded font. In > the other cases, the Label control itself is scaled and is truncating the > text but not the text itself. > > <?xml version="1.0" encoding="utf-8"?> > <mx:Application xmlns:mx="http://www.adobe.com/2006/mxml" layout="vertical" > horizontalAlign="left"> > <mx:Style> > @font-face { > src: local("Arial"); > fontFamily: myFontFamily; > advancedAntiAliasing: true; > } > @font-face { > src: local("Arial"); > fontFamily: myFontFamily; > fontWeight: bold; > advancedAntiAliasing: true; > } > > @font-face { > src: local("Arial"); > fontFamily: myFontFamily; > fontWeight: bold; > fontStyle: italic; > advancedAntiAliasing: true; > } > </mx:Style> > > <mx:Label text="Sample Text" fontSize="32" /> > <mx:Label text="Sample Text" fontSize="32" scaleX="0.7"/> > <mx:Label text="Sample Text" fontSize="32" scaleX="0.7" > blendMode="layer" /> > <mx:Label text="Sample Text" fontSize="32" fontFamily="myFontFamily" > scaleX="0.7"/> > <mx:Label text="Sample Text" fontSize="32" fontFamily="myFontFamily" > fontWeight="bold" fontStyle="italic"/> > <mx:Label text="Sample Text" fontSize="32" fontFamily="myFontFamily" > fontWeight="bold" fontStyle="italic" scaleX="0.7"/> > </mx:Application>
I tried this: <?xml version="1.0" encoding="utf-8"?> <mx:Application xmlns:mx="http://www.adobe.com/2006/mxml" layout="vertical"> <mx:Label text="Test label" blendMode="layer" scaleX="2" scaleY="2" /> <mx:Label text="Test label 2" scaleX="2" scaleY="2"/> <mx:Label text="Test label 3"/> </mx:Application> And both the first and second labels scaled properly (regardless of blend mode), so it's difficult for me to guess what the issue is on your file. HTH; Amy

