Controlling alpha on embedded fonts

There's a site I'm working on http://www.droolpigs.com/April5/ I have the alpha on the navigation buttons set to 0.2 the text appears with full alpha as I want.  I have a nice Old English font I want to use but when I embed the font it takes on the alpha settings of the background.  I set the alpha for the text field to 1 but the text remains at 0.2.  Any ideas on how to set the alpha of a container without affecting the embedded text in it or to set the alpha on the embedded text independently?

If you set the alpha of the container, that sets the maximum alpha you can reach for anything inside it.  If you want the background to be a different alpha you'll need to make the background as a separate object within the container and set its alpha instead of the container.

Similar Messages

  • Adding Transparency/alpha to Embedded Font

    Hi guys,
    I have embedded a font type in my application. Its working fine inside a text area. Now i need to add 60% transparency to it. In fact I need multiple transparency levels. Like -
    60 % transparency for TextARea
    70% for WindowShade Header etc.
    How do I add alpha values to it?

    I'm not sure if this fits into your idea, but i just use
    someUIImageView.alpha = 0.5;

  • Embedded Fonts, how to use in all controls?

    When I embed either external fonts or system fonts they work
    great for say the label control but not for others such as the
    progressBar, on top of this any control that wont use an embedded
    font cant be used in conjunction with an alpha related effect as
    the font will be 100% alpha the entire time. Whats the deal with
    some controls not using the specified embedded font?

    Hi again....
    I must ask again..because I dont think I understand completly how to get speedfan to work in my other profil...( User).
    I installed speed fan as admin and configured it proper according to this forum.....
    It seems to work just fine.......
    Before I logout and switch user I make sure that speedfan is not running and that there is nothing in its autostart.
    I then logout and switch to the other profil.......there I put an speedfan-ikon on its desk....
    When I try to launch speedfan in this profil I get a warning:
    UNABLE TO SAVE TO  C:\program\speedfan\speedfanparams.cfg
    It seems that I only can run speedfan as admin......
    Am sorry to bother u guys again...but u seem to be wise in this matter.....
    I want to be able to run the computer in this other profil, not in admin.
    In this other profil I would like to have speedfan running and showing me the temps of the computer.....
    As I understand its the most secure way to run computers......
    Best regards
    Mr W

  • Embedded font not working in Spark Label control?

    Hi,
    I'm trying to use embedded fonts with the Spark Label (formerly SimpleText) control. I'm using SDK 4 build 10485 now, but I could not manage it in Beta 1 neither.
    I'v been playing with cff: true/false, embedAsCFF:true/false but no results.
    I've added my test application where it does work with the Halo <mx:Label> control, but not with the Spark <s:Label> control.
    So, no compiler errors, but the Spark label control shows a serif (Helvetia?) font where it should be sans as does the Halo control.
    Can anybody help me out here?
    Thanks
    Jan
    As I get the message 'the content type of this attachment is not allowed' on uploading the MXML file, here is the code:
    <?xml version="1.0" encoding="utf-8"?>
    <s:Application xmlns:fx="http://ns.adobe.com/mxml/2009"
        xmlns:s="library://ns.adobe.com/flex/spark"
        xmlns:mx="library://ns.adobe.com/flex/halo"
        minWidth="1014" minHeight="768"
        backgroundColor="#7B7374">
        <s:layout>
            <s:VerticalLayout paddingBottom="8" paddingLeft="8" paddingRight="8" paddingTop="8" />
        </s:layout>
        <fx:Style>
            @namespace mx "library://ns.adobe.com/flex/halo";
            @namespace s "library://ns.adobe.com/flex/spark";
            @font-face {
                src: url("project/assets/thesans/THSP____.TTF");
                fontFamily: HaloSans;
                fontWeight: normal;
                advancedAntiAliasing: true;
                unicode-range: U+0021-U+007B;
            @font-face {
                src: url("project/assets/thesans/THSP____.TTF");
                fontFamily: SparkSans;
                fontWeight: normal;
                advancedAntiAliasing: true;
                unicode-range: U+0021-U+007B;
                embedAsCFF: true;
            .mySparkSans {
                fontFamily: SparkSans;
                fontSize: 24;
            .myHaloSans {
                fontFamily: HaloSans;
                fontSize: 24;
        </fx:Style>
        <s:SkinnableContainer>
            <s:Label styleName="mySparkSans" text="This should be TheSans but it is not...., notice the characters 'ag'"/>
            <mx:Label styleName="myHaloSans" text="This is TheSans, notice the characters 'ag'" top="100"/>
        </s:SkinnableContainer>
    </s:Application>

    Hi,
    I'm trying to use embedded fonts with the Spark Label (formerly SimpleText) control. I'm using SDK 4 build 10485 now, but I could not manage it in Beta 1 neither.
    I'v been playing with cff: true/false, embedAsCFF:true/false but no results.
    I've added my test application where it does work with the Halo <mx:Label> control, but not with the Spark <s:Label> control.
    So, no compiler errors, but the Spark label control shows a serif (Helvetia?) font where it should be sans as does the Halo control.
    Can anybody help me out here?
    Thanks
    Jan
    As I get the message 'the content type of this attachment is not allowed' on uploading the MXML file, here is the code:
    <?xml version="1.0" encoding="utf-8"?>
    <s:Application xmlns:fx="http://ns.adobe.com/mxml/2009"
        xmlns:s="library://ns.adobe.com/flex/spark"
        xmlns:mx="library://ns.adobe.com/flex/halo"
        minWidth="1014" minHeight="768"
        backgroundColor="#7B7374">
        <s:layout>
            <s:VerticalLayout paddingBottom="8" paddingLeft="8" paddingRight="8" paddingTop="8" />
        </s:layout>
        <fx:Style>
            @namespace mx "library://ns.adobe.com/flex/halo";
            @namespace s "library://ns.adobe.com/flex/spark";
            @font-face {
                src: url("project/assets/thesans/THSP____.TTF");
                fontFamily: HaloSans;
                fontWeight: normal;
                advancedAntiAliasing: true;
                unicode-range: U+0021-U+007B;
            @font-face {
                src: url("project/assets/thesans/THSP____.TTF");
                fontFamily: SparkSans;
                fontWeight: normal;
                advancedAntiAliasing: true;
                unicode-range: U+0021-U+007B;
                embedAsCFF: true;
            .mySparkSans {
                fontFamily: SparkSans;
                fontSize: 24;
            .myHaloSans {
                fontFamily: HaloSans;
                fontSize: 24;
        </fx:Style>
        <s:SkinnableContainer>
            <s:Label styleName="mySparkSans" text="This should be TheSans but it is not...., notice the characters 'ag'"/>
            <mx:Label styleName="myHaloSans" text="This is TheSans, notice the characters 'ag'" top="100"/>
        </s:SkinnableContainer>
    </s:Application>

  • Problems with embedded font on spark RichText control

    « Hide
    I have an embedded font that appears correctly when used with Halo components, but when associated with the spark RichText component, it is not recognized.
    The embedded font is defined in css file, my css file
    @namespace s "library://ns.adobe.com/flex/spark";
    @namespace mx "library://ns.adobe.com/flex/halo";
    @font-face {
    src:url("assets/fonts.swf");
    fontFamily: "Helvetica Neue";
    @font-face {
    src:url("assets/fonts.swf");
    fontFamily:"Helvetica Neue";
    fontWeight: bold;
    global{
    color:#333333;
    fontFamily: "Helvetica Neue";
    fontSize:12px;
    The embedded font it used in the following manner:
    <mx:Label styleName="panelTitle" text="Hello There"  width="263" x="21" y="11"/>
    <s:Group width="410" x="38" y="52" height="50">
    <s:RichText styleName="panelTitle" text="Hello There" fontFamily="Helvetica Neue"  width="263" x="21" y="11"/>
    </s:Group>
    The Label shows the embedded font correctly while the RichText control does not. It does not matter if the fontFamily is specified explicitly on the control or not.
    I created a bug SDK-22137, but since I'd need to get this working soon any help would be appreciated.

    Just a friendly reminder. Many of the examples on that site are fairly old and havent been updated to use the latest APIs. For example, "cff" has recently been renamed to "embedAsCFF". In fact, here's a better example:
    <?xml version="1.0" encoding="utf-8"?>
    <s:Application xmlns:fx="http://ns.adobe.com/mxml/2009"
                   xmlns:s="library://ns.adobe.com/flex/spark"
                   xmlns:mx="library://ns.adobe.com/flex/halo">
        <s:layout>
            <s:VerticalLayout paddingLeft="20" paddingTop="20" />
        </s:layout>
        <fx:Style>
            @namespace mx "library://ns.adobe.com/flex/halo";
            @namespace s "library://ns.adobe.com/flex/spark";
            /* DefineFont3 (embedAsCFF == false) */
            @font-face {
                src: url("assets/georgia.TTF");
                fontFamily: embGeorgia;
                fontWeight: normal;
                embedAsCFF: false;
            @font-face {
                src: url("assets/georgiab.TTF");
                fontFamily: embGeorgia;
                fontWeight: bold;
                embedAsCFF: false;
            /* DefineFont4 (embedAsCFF == true) */
            @font-face {
                src: url("assets/georgia.TTF");
                fontFamily: embGeorgiaCFF;
                fontWeight: normal;
                embedAsCFF: true;
            @font-face {
                src: url("assets/georgiab.TTF");
                fontFamily: embGeorgiaCFF;
                fontWeight: bold;
                embedAsCFF: true;
            mx|Label {
                fontFamily: embGeorgia;
            s|RichText {
                fontFamily: embGeorgiaCFF;
                fontLookup: embeddedCFF;
        </fx:Style>
        <mx:Label text="Halo Label" />
        <mx:Label text="Halo Label (bold)" fontWeight="bold" />
        <s:RichText text="Spark RichText" />
        <s:RichText text="Spark RichText (bold)" fontWeight="bold" />
    </s:Application>
    Also, depending on what you're trying to do, this may help you: http://blog.flexexamples.com/2009/06/14/using-a-cff-embedded-font-with-a-halo-label-contro l-in-flex-4/. Basically, you can set the textFieldClass style on certain Halo controls and have them use the mx.core.UITLFTextFieldClass (instead of the default mx.core.UITextFieldClass) so they can take advantage of the new CFF fonts.
    In fact, here's the same example as above, but with the single embedded font:
    <?xml version="1.0" encoding="utf-8"?>
    <s:Application xmlns:fx="http://ns.adobe.com/mxml/2009"
                   xmlns:s="library://ns.adobe.com/flex/spark"
                   xmlns:mx="library://ns.adobe.com/flex/halo">
        <s:layout>
            <s:VerticalLayout paddingLeft="20" paddingTop="20" />
        </s:layout>
        <fx:Style>
            @namespace mx "library://ns.adobe.com/flex/halo";
            @namespace s "library://ns.adobe.com/flex/spark";
            /* DefineFont4 (embedAsCFF == true) */
            @font-face {
                src: url("assets/georgia.TTF");
                fontFamily: embGeorgiaCFF;
                fontWeight: normal;
                embedAsCFF: true;
            @font-face {
                src: url("assets/georgiab.TTF");
                fontFamily: embGeorgiaCFF;
                fontWeight: bold;
                embedAsCFF: true;
            mx|Label {
                fontFamily: embGeorgiaCFF;
                textFieldClass: ClassReference("mx.core.UITLFTextField");
            s|RichText {
                fontFamily: embGeorgiaCFF;
                fontLookup: embeddedCFF;
        </fx:Style>
        <mx:Label text="Halo Label" />
        <mx:Label text="Halo Label (bold)" fontWeight="bold" />
        <s:RichText text="Spark RichText" />
        <s:RichText text="Spark RichText (bold)" fontWeight="bold" />
    </s:Application>
    Peter

  • Missing characters in CFF embedded fonts

    Our application loads embedded fonts on the fly. I'm in the process of converting our text handling to FTE and switching over to CFF fonts, but I've noticed that for a couple of fonts, there are characters that are damaged, or missing entirely. The same text renders correctly when the font is installed as a system font, and also when it's embedded in the non-CFF format, so CFF embedding is choking on something, but I have no idea what. Nor do I see a lot of knobs that I can twist to control the CFF output.
    For example, Budmo Jiggler (http://www.dafont.com/budmo-jiggler.font). When embedded as CFF, the letter "B" isn't rendering correctly:
    This occurs in both the 10.3 and 11.3 players.
    My embedding code is autogenerated for all fonts and looks like this:
    // GENERATED FILE - DO NOT EDIT
    package {
         import flash.display.Sprite;
         import flash.text.Font;
         [SWF(width="800", height="600", backgroundColor="#FFFFFF", frameRate="30")]
         public class BUDMO extends Sprite {
              [Embed(source='/Users/bsharon/src/Bueller/as/fonts/ttf/Budmo Jiggle/BUDMO.ttf',
                     mimeType="application/x-font",
                     fontName='embedded_BUDMO',
                     unicodeRange='U+0000-U+00FF',
                     embedAsCFF='true',
                     fontWeight='normal',
                     fontStyle='normal')]
              public static var embedded_BUDMO:Class;
              [Embed(source='/Users/bsharon/src/Bueller/as/fonts/ttf/Budmo Jiggle/BUDMOB.ttf',
                     mimeType="application/x-font",
                     fontName='embedded_BUDMO',
                     unicodeRange='U+0000-U+00FF',
                     embedAsCFF='true',
                     fontWeight='bold',
                     fontStyle='normal')]
              public static var embedded_BUDMO_Bold:Class;
                trace("Registering font embedded_BUDMO");
                Font.registerFont(embedded_BUDMO);
                trace("Registering font embedded_BUDMO_Bold");
                Font.registerFont(embedded_BUDMO_Bold);
    The code is compiled like so: mxmlc --static-link-runtime-shared-libraries -output <swf_file> <as3_file>. There are no warnings.
    So...what do I try next?

    I will close my own question by saying that if I convert the TTF files to OpenType, the problem goes away. I would have preferred not to bang my head on this particular wall, but at least I have a workaround now.

  • Arabic vocalization diacritics are not rendered correctly using Adobe Arabic as Embedded Font

    Hi,
    Vocalization diacritics are rendered as independent characters.
    Vocalization diacritics should be rendered combined and merged with the characters preceding them like in the third line of the attached image.
    Have a look at the SWF:
    1) The first line is aTextLayoutComponent which uses Adobe Arabic as en Embeded Font.
    2) The second line is using the System Font Adobe Arabic.
    Does anyone have an idea ?
    I personally think, when you choose System Font, it uses System Text rendering Engine. But if you embeed font flash has problem with rendering the diacritics properly.

    Hello,
    this is my whole code:
    <?xml version="1.0" encoding="utf-8"?>
    <s:Application xmlns:fx="http://ns.adobe.com/mxml/2009"
                   xmlns:s="library://ns.adobe.com/flex/spark"
                   xmlns:mx="library://ns.adobe.com/flex/halo"
                   minWidth="1024" minHeight="768"
                   creationComplete="init()"
                   xmlns:controls="flashx.textLayout.controls.*">
        <s:layout >
            <s:VerticalLayout/>
        </s:layout>
        <fx:Declarations>
            <!-- Place non-visual elements (e.g., services, value objects) here -->
            <s:HTTPService id="httpServiceObj" url="TopFirst.txt" result="handleResult(event)"
                           fault="handleFault(event)" 
                           resultFormat="text"/>
        </fx:Declarations>
        <fx:Style>
            @namespace s "library://ns.adobe.com/flex/spark";
            @namespace mx "library://ns.adobe.com/flex/halo";
              @font-face
                src:url("trado.ttf");
                fontFamily: ArabicFont;
                fontWeight: normal;
                font-style:normal;
                advancedAntiAliasing: true;
        </fx:Style>
        <fx:Script>
            <![CDATA[
                import mx.controls.Alert;
                import mx.rpc.events.FaultEvent;
                import mx.rpc.events.ResultEvent;
                private function init():void{
                    httpServiceObj.send();
                [Bindable]
                private var _str:String;
                private function handleResult(event:ResultEvent):void{
                    _str    =    event.result as String;       
                private function handleFault(event:FaultEvent):void{
                    Alert.show("fault is = " + event.fault.faultString);
            ]]>
        </fx:Script>
        <s:TextArea text="{_str}"  width="100%"
                    height="100%"
                    fontSize="50"
                    />
    </s:Application>
    As you can see from the code, I am not given any font to the TextArea , even  after giving the font which I have embeded ,out is the same.
    Where I am going wrong..

  • Why don't embedded fonts work inside ItemRenderers?

    I'm trying to use an embedded font on a spark label inside an item renderer for a list control and it doesn't work.  Works fine everywhere else.

    So i think i figured out what was going on.  Here is my simplified code:
    <?xml version="1.0" encoding="utf-8"?>
    <s:Application xmlns:fx="http://ns.adobe.com/mxml/2009"
                   xmlns:s="library://ns.adobe.com/flex/spark"
                   xmlns:mx="library://ns.adobe.com/flex/mx" minWidth="955" minHeight="600" xmlns:components="com.rtn.jccFlex.components.*" xmlns:local="*" xmlns:components1="com.ray.components.*">
        <fx:Declarations>
            <!-- Place non-visual elements (e.g., services, value objects) here -->
        </fx:Declarations>
        <fx:Style>
            @namespace s "library://ns.adobe.com/flex/spark";
            @namespace mx "library://ns.adobe.com/flex/mx";
            @font-face {
                src: url("/assets/Typewriter.ttf");
                fontFamily: Typewriter;
                embedAsCFF: true;
        </fx:Style>
        <mx:VBox width="100%" height="100%">
            <s:Label fontFamily="Typewriter" text="MY FONT WORKS!!" fontSize="14" />
            <s:Panel width="60%" height="100%" fontSize="18" fontWeight="bold">
                <s:Label fontFamily="Typewriter" text="MY FONT DOESNT WORKS!!" fontSize="14" />               
            </s:Panel>       
        </mx:VBox>
    </s:Application>
    It was looking for the bold version of the font since it inherited it from the parent panel. But the embed by default embeds the "normal" weight.
    In our project someone wrote a common panel component that sets the content of the panel using the "DefaultProperty" and we put our list in there.  So you don't really think about the container that the List and ItemRenderer sit inside, and it was very easy to overlook.
    This was very painful to figure out.
    Thanks for the help guys.

  • Quick Embedded Fonts Question

    For some reason I can't seem to get any embedded fonts to show up.  Can anyone explain why the following doesn't work?
    Using the newest Flash Builder.
    Thanks!
    -Dave
    <?xml version="1.0" encoding="utf-8"?>
    <mx:Application initialize="init();" xmlns:fx="http://ns.adobe.com/mxml/2009" xmlns:s="library://ns.adobe.com/flex/spark" xmlns:mx="library://ns.adobe.com/flex/halo" >
        <fx:Style>
             @font-face {
                   src: url("assets/arial.ttf");
                   fontFamily: "Arial";
                   embedAsCFF: true;
        </fx:Style>
        <fx:Script>
          <![CDATA[
                import flashx.textLayout.container.ContainerController;
                import flashx.textLayout.conversion.TextConverter;
                import flashx.textLayout.elements.TextFlow;
                import flash.text.engine.FontLookup;
                import flash.text.engine.RenderingMode;
                import mx.core.UIComponent;
                private var textFlow:TextFlow;
                 private var textHolder:UIComponent = new UIComponent();
                private var sprite:Sprite = new Sprite();
                private function init():void
                      var theText : String = '<TextFlow xmlns="http://ns.adobe.com/textLayout/2008" fontFamily="Arial" fontSize="100">Some Text Here</TextFlow>';
                      textFlow = TextConverter.importToFlow(theText, TextConverter.TEXT_LAYOUT_FORMAT);
                      textFlow.fontLookup = FontLookup.EMBEDDED_CFF;
                      textFlow.renderingMode = RenderingMode.CFF;
                      textFlow.flowComposer.addController(new ContainerController(sprite, 500,500));
                      textHolder.addChild(sprite);
                      addChild(textHolder);
                      textFlow.flowComposer.updateAllControllers();
              ]]>
        </fx:Script>
    </mx:Application>

    All of this did not work for me unless I "used" the font in the RichEditableText Component by adding 'fontFamily="myFont"' as a property to the RichEditableText control, too (see the code below).
    This is kinda messy -- please, fix that, let us use fonts with confidence in Flash (finally).
    -- David
        <fx:Script>
            <![CDATA[
                override public function set data(value:Object):void
                    var xml:XML = <TextFlow fontFamily="Arial" fontLookup="embeddedCFF" fontSize="13" renderingMode="cff" whiteSpaceCollapse="preserve" xmlns="http://ns.adobe.com/textLayout/2008">
      <p color="#6a6b5b" fontFamily="_BuchMedium" fontSize="20" paragraphSpaceAfter="8" paragraphSpaceBefore="16">
        <span>Ein kritischer Blick in die Nachbarschaft:</span>
      </p></TextFlow>;
                    var textFlow:TextFlow = new TextFlow();
                    textFlow = TextConverter.importToFlow(xml, TextConverter.TEXT_LAYOUT_FORMAT);
                    textFlow.fontLookup = FontLookup.EMBEDDED_CFF;
                    textFlow.renderingMode = RenderingMode.CFF;
                    richText.textFlow = textFlow;
            ]]>
        </fx:Script>
    <s:RichEditableText id="richText"
            width="100%"
           fontFamily="_BuchBold"
            fontLookup="embeddedCFF" renderingMode="cff" editable="false"/>

  • Do embedded fonts work in TextFlow yet?

    Embedded fonts aren't working for me in TextFlow for SDK build 8537. I added the embedAsCFF: true thing, and the font does show up in Spark controls; it's just not working when I use it in TextFlow (defaults to Times). Non-embedded fonts are working fine though in TextFlow, the problem is only with the embedded ones. Is this a known issue at this time?

    Turns out this is because of the linkage setting to RSLs in the newer SDK builds, Adobe is looking at this. Check outhttp://forums.adobe.com/message/2121775#2121775 for details/workaround.

  • Embedded fonts display differently in mx and spark

    Hi there,
    My apologies if this is an known issue but I have not been able to find any posts describing this problem. As the title of the discussion describes the problem I see is that when embedding the same font for spark and mx components they display differently to the point of making the application look sloppy. I created a small app to illustrate the problem:
    <?xml version="1.0" encoding="utf-8"?>
    <s:Application
        minWidth="955" minHeight="600"
        xmlns:fx="http://ns.adobe.com/mxml/2009"
        xmlns:s="library://ns.adobe.com/flex/spark"
        xmlns:mx="library://ns.adobe.com/flex/mx">
        <fx:Declarations>
            <!-- Place non-visual elements (e.g., services, value objects) here -->
        </fx:Declarations>
        <fx:Style>
    @namespace s "library://ns.adobe.com/flex/spark";
    @namespace mx "library://ns.adobe.com/flex/mx";
    @font-face
    src:url("arial.ttf");
    fontFamily: arialCFF;
    embedAsCFF: true;
    @font-face {
    src:url("arial.ttf");
    fontFamily: arialNoCFF;
    embedAsCFF: false;
    advancedAntiAliasing: false;
    s|Label
    fontFamily: arialCFF;
    fontSize: 20px;
    mx|Label
    fontFamily: arialNoCFF;
    fontSize: 20px;
    </fx:Style>
        <s:layout>
            <s:VerticalLayout
                paddingLeft="10"
                paddingTop="10"/>
        </s:layout>
        <s:Label text="This is a label that uses spark"/>
        <mx:Label text="This is a label that uses mx"/>
    </s:Application>
    I used the Arial.ttf font I found in my mac, though I have also tried with courier new and even the myriad web pro provided with an example in the SDK. Also I have tried with SDKs 4.1, 4.5 and 4.5.1. I have played with the value of advancedAniAliasing as well. Regardless of the combination I will still see differences such as this:
    Is this a known issue? Any solutions at hand?
    Thanks in advance for the help!!

    Hi there,
    Thanks for the quick reply. I was able to make fonts display correctly after hacking the display of some components (mx.controls.FormItem for example) however I did notice a whole buch of runtime warnings that showed up as a result of the workaround such as:
    warning: incompatible embedded font 'arialCFFFont' specified for mx.core::UITextFormat. This component requires that the embedded font be declared with embedAsCFF=false.
    TextFieldAutomationHelper:captureSelection() - 'selectionBeginIndex' is not implemented in FTETextField.
    And in some cases for components I do not even use:
    warning: incompatible embedded font 'arialCFFFont' specified for mx.controls::TextInput (TextInput1967) . This component requires that the embedded font be declared with embedAsCFF=false.
    Any ideas on how to avoid this noise or do we have to live with this?

  • [svn:fx-trunk] 10545: Make DataGrid smarter about when and how to calculate the modulefactory for its renderers when using embedded fonts

    Revision: 10545
    Author:   [email protected]
    Date:     2009-09-23 13:33:21 -0700 (Wed, 23 Sep 2009)
    Log Message:
    Make DataGrid smarter about when and how to calculate the modulefactory for its renderers when using embedded fonts
    QE Notes: 2 Mustella tests fail:
    components/DataGrid/DataGrid_HaloSkin/Properties/datagrid_properties_columns_halo datagrid_properties_columns_increase0to1_halo
    components/DataGrid/DataGrid_SparkSkin/Properties/datagrid_properties_columns datagrid_properties_columns_increase0to1
    These fixes get us to measure the embedded fonts correctly when going from 0 columns to a set of columns so rowHeight will be different (and better) in those scenarios
    Doc Notes: None
    Bugs: SDK-15241
    Reviewer: Darrell
    API Change: No
    Is noteworthy for integration: No
    tests: checkintests mustella/browser/DataGrid
    Ticket Links:
        http://bugs.adobe.com/jira/browse/SDK-15241
    Modified Paths:
        flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/DataGrid.as
        flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/dataGridClasses/DataGridBase .as
        flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/dataGridClasses/DataGridColu mn.as

    Hi Matthias,
    Sorry, if this reply seems like a products plug (which it is), but this is really how we solve this software engineering challenge at JKI...
    At JKI, we create VI Packages (which are basically installers for LabVIEW instrument drivers and toolkits) of our reusable code (using the package building capabilities of VIPM Professional).  We keep a VI Package Configuration file (that includes a copy of the actual packages) in each of our project folders (and check it into source code control just as we do for all our project files).  We also use VIPM Enterprise to distribute new VI Packages over the network.
    Also, as others have mentioned, we use the JKI TortoiseSVN Tool to make it easy to use TortoiseSVN directly from LabVIEW.
    Please feel free to contact JKI if you have any specific questions about these products.
    Thanks,
    -Jim 

  • How to have rotated axis labels in charts without embedding fonts?

    Hi all,
         I am trying to have slant/rotated axis labels in flex charts to avoid clutter in cases of large number of sample points. It was fairly easy to do this using 'labelRotation' method in AxisRenderer but this involved embedding fonts [ causes my swf to increase in size by atleast a 100KB which in my case is very high ]. My question is.. Can this be done without embedding the fonts? Maybe with the use of labelRenderer? Any alternatives that would solve the purpose without increase in swf size are also most appreciated as I ve been struggling with this for quiet a while.
    Thanks a ton,
    Siva

    Please check LabVIEW\Examples\picture\demos.llb\polar plot demo.vi
    But it has no zooming and cursors.
    Maybe you can modify that example and use XY plot instead of picture control. I mean for each function plot on the picture, you generate another function to replace it and generate XY data pairs.

  • AIR 3.0 mx:HTML embedded fonts in external swf - silent craziness

    The recent upgrade to AIR 3.0 has hosed our application.  We rely heavily on an mx:HTML control to render the UI of our application using javascript and HTML templates.  Everything has been working great in production for months, until Adobe released AIR 3.0 last week.  We use embedded fonts in our application that our defined in an external .swf (loaded at runtime).  The HTML control loads a .css file that references the name of our embedded font "ArialEmbedded" and it all worked great.  But now, with 3.0 it does not respect anything in the external .swf.  We get the default Times New Roman font in all of our content, and the app crashes with reliability (in debug mode and release mode) without any exceptions being thrown.
    Using the Windows Debugger, I have been able to track it down to this call consistently - Webkit!cairo_pattern_get_type with an Access Violation erros - c0000005 . 
    After some Googling, it seems webkit uses Cairo for the graphics rendering portion of the library, and in this case it is trying to render a specific color.
    1) I've tried forcing the moduleLoader on the HTML control to use the moduleLoader of the parent Spark component - to no avail.
    2) Did something change with style management and loading external .swf files?
    3) Any other help?  At this point, I have no idea where to begin.  When it crashes, usually during the rendering of items in a grid the AIR process will grab about 2GB of RAM all at once and then stop working with the windows process stopped working dialog.
    Thanks for any help,
    Steve

    Hi,
    Could you please open a new bug report on this over at bugbase.adobe.com? Please include sample media, code, project or app to help us reproduce the issue. Finally, once the bug has been added, would you mind posting back with the URL so that others affected can add their votes and comments?
    Thanks,
    Jian
    Adobe Flash Runtime team

  • Embedded fonts not showing?

    I've embedded fonts in my swf for users. On my computer, which contains the font, it works locally and online as it shoud. However, on user's computers without the font it defaults to the device font, why? Isn't the font supposed to be embedded in the file? Thanks...

    Using this global custom style
    package com.rg.Misc{
    // import classes
    import flash.display.Sprite;
    import fl.controls.listClasses.CellRenderer;
    import fl.controls.ComboBox;
    import fl.managers.StyleManager;
    import fl.controls.TextInput;
    import flash.text.TextFormat;
    // initialize class
    public class ComboCustomStyle extends Sprite{
      // formats
      private var upFormat:TextFormat;
      private var overFormat:TextFormat;
      // main constructor
      public function ComboCustomStyle() {
       upFormat = new TextFormat();
       upFormat.font = new DoctorSoos().fontName;
       upFormat.color = 0x666666;
       upFormat.size = 16;
       upFormat.letterSpacing = .5;
       StyleManager.setStyle("upFormat",upFormat);
       overFormat = new TextFormat();
       overFormat.font = new DoctorSoos().fontName;
       overFormat.color = 0x666666;
       overFormat.size = 16;
       overFormat.letterSpacing = .5;
       StyleManager.setStyle("overFormat",overFormat);
       StyleManager.setComponentStyle(ComboBox,"textFormat",StyleManager.getStyle("upFormat"));
       StyleManager.setComponentStyle(TextInput,"textFormat",StyleManager.getStyle("upFormat"));
       StyleManager.setComponentStyle(CellRenderer,"textFormat",StyleManager.getStyle("overForma t"));

Maybe you are looking for