Problem embedding fonts with ButtonSkin class with SDK 4.5.1

Hi,
I've an external style file calling into main mobile application which has codes something like these:
@font-face {
          src: url("../fonts/TektonPro-BoldCond.otf");
  fontFamily: TektonProBCnd;
  embedAsCFF: false;
.buttonStyle {
  embedFonts: true;
  fontFamily: TektonProBCnd;
  fontSize: 24;
  skin: ClassReference(null);
.text_listMediumText {
  fontFamily: TektonProBCnd;
  fontSize: 24;
          color:                               #666666;
In my application the embedding font styles working properly when directly bind with any component with 'styleName' property (i.e. text_listMediumText). I've also one button something like this:
<s:Button label="CONNECT" skinClass="actionScripts.ui.SketchButtonSkin" click="onConnect()"/>
And the skin class is as follows:
public class SketchButtonSkin extends ButtonSkin
  //  PRIVATE VARIABLES
                     * CONSTRUCTOR
                    public function SketchButtonSkin()
                              super();
                              width = 268;
                              height = 50;
  //  OVERRIDDEN API
  // Override this function to prvent the button from drawing a background
                    override protected function drawBackground(unscaledWidth:Number,
                                                                                                                           unscaledHeight:Number):void{
  override protected function
                              labelDisplay_valueCommitHandler(event:FlexEvent):void
                              labelDisplay.setStyle( "fontSize", 20 );
               labelDisplay.setStyle("fontFamily","TektonProBCnd"); // or, labelDisplay.styleDeclaration = styleManager.getStyleDeclaration(".buttonStyle");
But I not ever could embed the font with this buttonSkin class. Any help please (?)

Try linking a Scroller into your app.

Similar Messages

  • Problem in importing two different classes with same name...

    I have to import two different classes in my program with the same name....
    import org.apache.lucene.document.Document;
    import org.w3c.dom.Document;
    //    I AM USING THE DOCUMENT FROM W3C PACKAGE HERE....
    DocumentBuilderFactory factory = DocumentBuilderFactory.newInstance();
                     DocumentBuilder builder = factory.newDocumentBuilder();
                     InputSource is = new InputSource( new StringReader( tempString ) );
                     d = builder.parse( is );
                     NodeList images = d.getElementsByTagName("img");
                     int length = images.getLength();
                     for(int i = 0;i<length;i++)
                         Node image = images.item(i);
                         String tempAltText = image.getAttributes().getNamedItem("alt").getNodeValue();
                         altText = altText.concat(" ").concat(tempAltText);
                     }and the error i am getting is
    [javac] C:\Documents and Settings\sumit-i\WolframWorkspaces\Base\WolframNutch\src\java\com\wolfram\nutch\indexer\InfoCenterFilter.java:20: org.apache.lucene.document.Document is already defined in a single-type import
        [javac] import org.w3c.dom.Document;
        [javac] ^
        [javac] C:\Documents and Settings\sumit-i\WolframWorkspaces\Base\WolframNutch\src\java\com\wolfram\nutch\indexer\InfoCenterFilter.java:132: incompatible types
        [javac] found   : org.w3c.dom.Document
        [javac] required: org.apache.lucene.document.Document
        [javac] d = builder.parse( is );
        [javac] ^
        [javac] C:\Documents and Settings\sumit-i\WolframWorkspaces\Base\WolframNutch\src\java\com\wolfram\nutch\indexer\InfoCenterFilter.java:133: cannot find symbol
        [javac] symbol  : method getElementsByTagName(java.lang.String)
        [javac] location: class org.apache.lucene.document.Document
        [javac] NodeList images = d.getElementsByTagName("img");
        [javac] ^
        [javac] Note: Some input files use unchecked or unsafe operations.
        [javac] Note: Recompile with -Xlint:unchecked for details.
        [javac] 3 errorsany idea ..how to resolve it
    Edited by: ping.sumit on Jul 16, 2008 3:39 PM
    Edited by: ping.sumit on Jul 16, 2008 3:40 PM

    now i changed the code to
    import org.apache.lucene.document.Document;
    import org.w3c.dom.Document;
    org.w3c.dom.Document d = null;
    try{
         System.out.println("in author");
                   URL url = new java.net.URL(urlString);
                   java.net.URLConnection conn = url.openConnection();
                   BufferedReader in = new BufferedReader(new InputStreamReader(conn.getInputStream()));
                   while ((in.readLine()) != null)
                        //tempString = tempString.concat(in.readLine());
                        String temp = in.readLine();
                        tempString = tempString + " " + temp;
                   System.out.println("the string in author" + tempString);
                    in.close();
                    DocumentBuilderFactory factory = DocumentBuilderFactory.newInstance();
                     DocumentBuilder builder = factory.newDocumentBuilder();
                     InputSource is = new InputSource( new StringReader( tempString ) );
                     d = builder.parse( is );
                     NodeList images = d.getElementsByTagName("img");and their is only one error i am getting ...and that is
    [javac] C:\Documents and Settings\sumit-i\WolframWorkspaces\Base\WolframNutch\src\java\com\wolfram\nutch\indexer\InfoCenterFilter.java:20: org.apache.lucene.document.Document is already defined in a single-type import
        [javac] import org.w3c.dom.Document;
        [javac] ^
        [javac] Note: Some input files use unchecked or unsafe operations.
        [javac] Note: Recompile with -Xlint:unchecked for details.
        [javac] 1 error

  • Embeded fonts don't work with htmlText

    If you create a text field and have it Render As HTML, its
    all good until you decide to embed the font for the text field. For
    some reason, no text inside HTML text gets rendered, but everything
    else appears around it.
    This is the case regardless of if you set the HTML Render
    from the GUI or via code.
    Has anyone else experienced this problem?
    this is straight out of the language reference except that i
    have checnged it to be Render HTML and it does not work
    var my_fmt:TextFormat = new TextFormat();
    my_fmt.font = "Arial";
    this.createTextField("my_txt", this.getNextHighestDepth(),
    10, 10, 160, 120);
    my_txt.wordWrap = true;
    my_txt.embedFonts = true;
    my_txt.html = true;
    my_txt.htmlText = "Hello <b>world</b>";
    my_txt.setTextFormat(my_fmt);
    Steve

    hope you have the font imported in your library.

  • Embedding Fonts in Oracle Reports with PDF output

    I've read in the data sheet for Oracle reports that you can embed font in the PDF output, but I cannot seem to find any documentation on how this is done. Current we have PDF reports being generated using reports server on Compaq (Alpha based) server running TRUE64 UNIX. The reports server uses the fonts install on the Compaq to figure out the layout (we use auto-sized fields). When the PDF is displayed on a Windows client the fonts are substituted and the labels and fields overlap. I want to embed the UNIX fonts into the PDF so that the output is reproduced as it was generated.

    You need to export as PDF (Interactive) and you also need to view the PDF in Reader or Acrobat 9 or later.
    Bob

  • OT: Problems Embedding Fonts.

    Hi all...
    Sorry for this but..
    I am using MS Weft v 3.4.2 to embed the Shusha Tru Type font
    on a web site
    in the Hindi language.
    I have cleaned up all the files and ensured that all font
    styles are correct
    and applied.
    Having run the site files through Weft, it inserts a style
    sheet which
    defines the fonts ie Shusha.eot - which it places in the site
    root.
    There are 75 recognised web pages which are in
    content/product relevant
    folders.
    I am using a Project Seven Anderson Jones template with Pop
    Menu magic.
    Uploading the files to the server...the index page is OK
    showing the text in
    the Shusha font....but no other page does!
    On each page , in the head section, Weft places the style
    sheet for the
    Shusha embedded eot fonts.
    I have tried creating a font folder and altering the Weft CSS
    to point to it
    and the coreect eot font....still rubbish.
    I have probably got myself lost in this an am missing
    something
    basic...although I am not a CSS "capable" person!
    I cannot fathom out why its OK on the index page but useless
    on every other
    page..
    Any suggestions or alternative would save me from more hours
    of mental pain!
    TIA
    SB

    I'm used to it. They already do! 8)
    Murray --- ICQ 71997575
    Adobe Community Expert
    (If you *MUST* email me, don't LAUGH when you do so!)
    ==================
    http://www.dreamweavermx-templates.com
    - Template Triage!
    http://www.projectseven.com/go
    - DW FAQs, Tutorials & Resources
    http://www.dwfaq.com - DW FAQs,
    Tutorials & Resources
    http://www.macromedia.com/support/search/
    - Macromedia (MM) Technotes
    ==================
    "David Powers" <[email protected]> wrote in message
    news:fcr5ke$slc$[email protected]..
    > Murray *ACE* wrote:
    >> an antique that should have been shot years ago.
    >
    > Careful. Someone might start saying that about you one
    day... :-p
    >
    > --
    > David Powers, Adobe Community Expert
    > Author, "The Essential Guide to Dreamweaver CS3"
    (friends of ED)
    > Author, "PHP Solutions" (friends of ED)
    >
    http://foundationphp.com/

  • Illustrator CS5 - Save as SVG - Problems embedding fonts

    This is what is happening:
    1. I create a new illustrator document.
    2. I create a text-box in it, and write something. Like "test".
    3. I use the default font face (Myriad Pro) (Any other font will give the same result)
    4. I save as Svg.
    5. In "Fonts" I choose "SVG" and "All Glyphs" (Only Glyphs used gives same result) (SVG profile: SVG 1.1)
    6. Illustrator alerts "One or more of the fonts could not be embedded. Please check the output document and directory."
    7. It saves as SVG, but without embedding the fonts.
    And it does not embed the font. I've tried with different fonts, with same result. I've tried with several text boxes, with different fonts, with same result: No fonts are embedded.
    Any ideas about what might be going on here?

    My PDF files are showing the fonts being live no matter what Adobe preset setting I used. The only way to get the fonts embedded is to outline them first in illustrator. I attached a screen capture to prove that they are still live in the PDF file. This means if the recipient don't have these fonts, they will default to something else.

  • Need help with generic class with comparable type

    Hi. I'm at University, and I have some coursework to do on writing a generic class which offers ordered binary trees of items which implement the comparable interface.
    I cant get the code to compile which I have written.
    I get the error: OBTComparable.java uses unchecked or unsafe operations
    this is the more detailed information of the error when I compile with -Xlint:unchecked
    OBTComparable.java:62: warning: [unchecked] unchecked call to insert(OBTType) as
    a member of the raw type OBTComparable
    left.insert(insertValue);
    ^
    OBTComparable.java:64: warning: [unchecked] unchecked call to insert(OBTType) as
    a member of the raw type OBTComparable
    right.insert(insertValue);
    ^
    OBTComparable.java:75: warning: [unchecked] unchecked call to find(OBTType) as a
    member of the raw type OBTComparable
    return left.find(findValue);
    ^
    OBTComparable.java:77: warning: [unchecked] unchecked call to find(OBTType) as a
    member of the raw type OBTComparable
    return right.find(findValue);
    ^
    and here is my code for the class
    public class OBTComparable<OBTType extends Comparable<OBTType>>
      // A tree is either empty or not
      private boolean empty;
      // If the tree is not empty then it has
      // a value, a left and a right.
      // These are not used it empty == true
      private OBTType value;
      private OBTComparable left;
      private OBTComparable right;
      // Create an empty tree.
      public OBTComparable()
        setEmpty();
      } // OBTComparable
      // Make this tree into an empty tree.
      private void setEmpty()
        empty = true;
        value = null; // arbitrary
        left = null;
        right = null;
      } // setEmpty
      // See if this is an empty (Sub)tree.
      public boolean isEmpty()
      { return empty; }
      // Get the value which is here.
      public OBTType getValue()
      { return value; }
      // Get the left sub-tree.
      public OBTComparable getLeft()
      { return left; }
      // Get the right sub-tree.
      public OBTComparable getRight()
      { return right; }
      // Store a value at this position in the tree.
      private void setValue(OBTType requiredValue)
        if (empty)
          empty = false;
          left = new OBTComparable<OBTType>(); // Makes a new empty tree.
          right = new OBTComparable<OBTType>(); // Makes a new empty tree.
        } // if
        value = requiredValue;
      } // setValue
      // Insert a value, allowing multiple instances.
      public void insert(OBTType insertValue)
        if (empty)
          setValue(insertValue);
        else if (insertValue.compareTo(value) < 0)
          left.insert(insertValue);
        else
          right.insert(insertValue);
      } // insert
      // Find a value
      public boolean find(OBTType findValue)
        if (empty)
          return false;
        else if (findValue.equals(value))
          return true;
        else if (findValue.compareTo(value) < 0)
          return left.find(findValue);
        else
          return right.find(findValue);
      } // find
    } // OBTComparableI am unsure how to check the types of OBTType I am comparing, I know this is the error. It is the insert method and the find method that are causing it not to compile, as they require comparing one value to another. How to I put the check in the program to see if these two are of the same type so they can be compared?
    If anyone can help me with my problem that would be great!
    Sorry for the long post, I just wanted to put in all the information I know to make it easier for people to answer.
    Thanks in advance
    David

    I have good news and undecided news.
    First the good news. Your code has compiled. Those are warnings not errors. A warning is the compiler's way of saying "I understand what you are asking but maybe you didn't fully think through the consequences and I just thought I would let you know that...[something] "
    In this case it's warning you that you aren't using generics. But like I said this isn't stopping it from compiling.
    The undecided news is the complier is warning you about not using generics. Are you supposed to use generics for this assignment. My gut says no and if that's true then you have no problem. If you are supposed to use generics well then you have some more work.

  • CS5 having problems embedding fonts

    I am trying to embed a couple of fonts - one for each dynamic textbox. The first has Arial Bold embeded, and the second has Arial Regular. I have used the embed panel and set the character range. Oddly, when I export the SWF, both textboxes come out as Arial Regular. If I simply delete the second textbox (the one set to Arial Regular), and export again - suddenly the first (now only) textbox shows properly in Arial Bold. What gives?
    I have created a simple file that replicates the issue: http://download.hexatrope.com/embed_test.fla

    Yeah mytaxsite i think thats a good idea im a little new to this as you probley can tell.
    here's the code -
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    <html xmlns="http://www.w3.org/1999/xhtml">
    <head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
    <title>Untitled Document</title>
    <style type="text/css">
    #body {
              position:relative;
              width:1240px;
              height:922px;
              z-index:1;
              margin-right: auto;
              margin-left: auto;
    #apDiv1 {
              position:absolute;
              left:734px;
              top:184px;
              width:426px;
              height:253px;
              z-index:2;
    </style>
    </head>
    <body>
    <div id="body"><img src="images/maintemplate.png" width="1024" height="1928" /></div>
    <div id="apDiv1"><iframe src="//player.vimeo.com/video/69376439?title=0&amp;byline=0&amp;portrait=0&amp;color=0202 03&amp;autoplay=1" width="450" height="253" frameborder="0" webkitallowfullscreen mozallowfullscreen allowfullscreen></iframe></div>
    </body>
    </html>

  • Using an Embedded Font in another .swf

    I am encountering a situation with font embedding that hopefully someone out there will know the solution to. This is a slightly boiled-down version of the problem but all the pertinent details are included. Without further ado, here's the situation:
    TLDR Version:  If I have a font embedded and registered with Font.registerFont(), and I attempt to use that font in a .swf that was compiled from an .fla in Flash CS5 that so much as MENTIONS that font, it fails.
    Longer Description:
    The Goal: Embed fonts in 1 .swf, use those fonts in many .swfs. Simple.
    Fonts.swf
    I have 3 .swf files. The first is called Fonts.swf. This was created in Flash CS5. It contains an embedded font( Franklin Gothic Demi ) with characters a-z, A-Z, numerals, and punctuation, etc. Regular, not bold. The font is exported for actionscript and the class is FranklinGothicDemi.
    On the main timeline of Fonts.swf is the code:
    Font.registerFont( FranklinGothicDemi ).
    Application.swf
    The second .swf is Application.swf. The following code snippet is from Application.as:
    [Embed(source="Fonts.swf")]
    private static var EmbeddedFonts:Class;
    initFonts()
    var embedFont:EmbeddedFonts = new EmbeddedFonts();
    embedFont.addEventListener( Event.COMPLETE, function( e:Event ){ traceEmbeddedFonts(); } );
    When traceEmbeddedFonts is called, it verifies that Franklin Gothic Demi is in fact registered.
    UserInterface.swf
    The third .swf file is UserInterface.swf. Fonts are NOT embedded in this file. They are not supposed to be. The project has many .swf files and they should all be using the fonts embedded in Fonts.swf.
    On the main timeline of UserInterface, it calls it's own version of traceEmbeddedFonts(), which again confirms that Franklin Gothic Demi is embedded.
    Inside UserInterface is a TextField we'll call mMainTextField, with some text, say "Main Menu". The font is "Franklin Gothic Demi", the anti-alias style is 'use device fonts.' I have tried other anti-alias styles as well.
    As it turns out, UserInterface.swf is 'embedding' Franklin Gothic Demi, with a character set of a big fat 0 characters. This is taking precedence over the Franklin Gothic Demi font embedded from Fonts.swf. I can side-step this problem by setting mMainTextField to use some other Font while publishing and then using actionscript to change it back to Franklin Gothic Demi when the project is running, but that's not a solution that is friendly to the artists.
    In essence, the question is simple: Why is Flash Embedding and Registering fonts with character sets of size 0, despite the fact that nowhere in UserInterface.swf is there a request to embed fonts, and how do I prevent it from doing so?
    If anyone who sees this has already encountered and solved this problem and shares the solution with me, you will be my favorite person .
    Thanks!
    -J

    You know, I think its just a bug inside Flash Builder Burrito. When I run my app through the emulator it doesn't display correctly but when I run it on my phone it works as it should.

  • Regarding Embedded fonts

    Hi All,
    I have applied embedded fonts in my application using CSS file.Issue we are facing for components like Titlewindow,Panel and Alert in which Header style is not reflecting with the embedded font family instead maintaining with its default font.I have also mentioned the CSS sample below for ur reference.@font-face{
    src:url("Assets/verdana.ttf"); 
    fontFamily: TTVerdana; 
    advancedAntiAliasing: true;}
    Application  { 
    backgroundColor: #FFFFFF; 
    backgroundGradientColors: #FFFFFF, #FFFFFF; 
    fontFamily: TTVerdana; 
    themeColor: #FFFFFF;}
    Note : I also tried out fontfamily style specific to TitleWindow,Panel etc in CSS as mentioned but still no effect
    TitleWindow  {
     fontFamily: TTVerdana; 
    fontSize: 11;
     borderAlpha: 0.44; 
    headerHeight: 20;}
    ragards,
    karthik

    Hi All,
    Thanks for the solution.
    regards,
    karthik

  • Problem with PDF export and embedded font (characters disappear)

    Designer: Crystal Reports 2008 SP 2
    Engine: CR4E 2.0 SP2 (runtime_12.2.203)
    Hi there!
    we found a problem in the pdf export. It seems like there would be a problem with the embedded fonts, the problem is as follows:
    Rpt file with, for example only a text box which contains the german string " Änderungs Schlüssel ".
    Export the Rpt file with CR4E to a pdf file.
    When we open the pdf file in Adope Reader 8, the text appears to be correct,
    but if we print the PDF file from the Adope Reader, the text changes to " nderungs Schl sselu201C,
    here we are missing ther german umlaute.
    When we open the file for example with an alternative PDF reader like Foxit Reader, there they are also missing.
    After i found some posts here in the forum, there are people facing the same problem, since i couldn't find a solution in the forum, we build a little workaround for it that works for us.
    For all of you that have the same problem here the workaround:
    We used the IText JAVA library, this jar can can help as to fix the PDF file so the text is displayed correctly.
    Here the code:
    ReportClientDocument doc = new ReportClientDocument();
    doc.setReportAppServer(ReportClientDocument.inprocConnectionString);
    doc.open("C:\XY.rpt", OpenReportOptions._openAsReadOnly);
    //... database logon,.....
    InputStream inputStream = doc.getPrintOutputController().export(ReportExportFormat.PDF);
    inputStream = PDFHealer.heal(inputStream);
    //... write the stream some where

    The helper class using IText:
    import java.io.ByteArrayInputStream;
    import java.io.ByteArrayOutputStream;
    import java.io.IOException;
    import java.io.InputStream;
    import com.lowagie.text.Document;
    import com.lowagie.text.DocumentException;
    import com.lowagie.text.pdf.PdfContentByte;
    import com.lowagie.text.pdf.PdfImportedPage;
    import com.lowagie.text.pdf.PdfReader;
    import com.lowagie.text.pdf.PdfWriter;
    public class PDFHealer
       public static InputStream heal(InputStream in) throws DocumentException, IOException
          try
             ByteArrayOutputStream out = new ByteArrayOutputStream();
             PdfReader reader = new PdfReader(in);
             // we retrieve the total number of pages
             int n = reader.getNumberOfPages();
             // step 1: creation of a document-object
             Document document = new Document();
             // step 2: we create a writer that listens to the document
             PdfWriter writer = PdfWriter.getInstance(document, out);
             // step 3: we open the document
             document.open();
             // step 4: we add content
             PdfContentByte cb = writer.getDirectContent();
             int i = 0;
             while( i < n )
                document.newPage();
                i++;
                PdfImportedPage page1 = writer.getImportedPage(reader, i);
                cb.addTemplate(page1, 0, 0);
             // step 5: we close the document
             document.close();
             ByteArrayInputStream ret = new ByteArrayInputStream(out.toByteArray());
             out.close();
             return ret;
          finally
             in.close();

  • Problem with v9.4.4 and embedded fonts

    I have been using Acrobat for several years and have created and saved hundreds of PDF documents. Since upgrading to v9.4.4, all those are now unreadable. When I open any pdf saved to a previous version or new document saved to a PDF, I get the following error message:
    "Cannot extract the embedded font 'TDVVWC+MyriadPro-BoldCond'. Some characters may not display or print correctly."
    I don't know if this is a problem with Acrobat Pro or with Reader, but it has rendered every pdf file I ever created useless. Any help would be greatly appreciated.
    I use a MacBook Pro
    Mac OS X 10 v 10.6.7
    Acrobat 9 Pro v9.4.4
    Thanks,
    Jim

    aliday2 wrote:
    Larry and Phillip,
    Thanks for your help. I'm sure you both are right that it is a problem with OSX. Unfortunately, the font fix didn't work. What is odd is that the original documents open fine in Pages, and even the PDF's look and print fine if opened in Preview. It's only when the PDF's are opened in Acrobat that the fonts get messed up.
    The other thing that is strange is I emailed a PDF to a friend who opened the file in Windows. He got a similar error message (problem with embedded fonts...) but the fonts were not distorted and the PDF appeared fine.
    That's because the defective font was embedded in you document;  but, his machine likely has no issue with the font or is setup to use local fonts only.

  • Problems with Embedded Font MS PGothic

    Hello,
    After editing a document in Japanese, some characters will not show up. Normally i would attribute this to a missing font pack, but after reinstalling the Japanese font pack on the computer, we strill get the error message:
    "Cannot extract the embedded font 'RNUQGV+MSPGothic-WinCharSetFFFF-H'"
      Some characters may not display or print correctly.
    We create the file with MS Word, and in word we have no problems. It is only after using PDF-Server to create the files does this become a problem. Other Japanese fonts do no seem to have this issue.
    Any help would be greatly appreciated.
    thanks in advance
    SB

    Hello,
    After editing a document in Japanese, some characters will not show up. Normally i would attribute this to a missing font pack, but after reinstalling the Japanese font pack on the computer, we strill get the error message:
    "Cannot extract the embedded font 'RNUQGV+MSPGothic-WinCharSetFFFF-H'"
      Some characters may not display or print correctly.
    We create the file with MS Word, and in word we have no problems. It is only after using PDF-Server to create the files does this become a problem. Other Japanese fonts do no seem to have this issue.
    Any help would be greatly appreciated.
    thanks in advance
    SB

  • Reader V8 problem with embedded font

    Hello,
    I'm having problems opening in Reader V8 the PDF file located at http://www.itech.ca/otf-cff.pdf . The file opens correctly in previous versions of acrobat. AR 4 5 6 7. It complains about the embedded font. Can anyone help me identify the reason why the font cannot be extracted ? Is there anything wrong in the PDF file when describing the font, or it's the way I'm generating the embedded font ? Is there any tool I can use to help me debug this ? Any help or hint would be greatly appreciated.
    Thanks in advance.
    rabih

    Rabih,
    Please repost in the Reader forum. This forum is for pdf specification
    issues. Usually, the problems you are having are due to each successive
    version of Acrobat adhering to standards more strictly. A pdf with a
    problemsome font Acrobat or Reader might have tried to render the pdf
    and hope for the best. Now it may reject the pdf.
    Mike

  • Problems with embedded font with medium or heavy weight

    Hey guys,
    I'm switching a current Project from Flashbuilder Beta2 to the Flashbuilder final release.
    I have a big problem concerning embedded fonts. The fonts I have to use are Futura Com Medium & Futura Com Heavy.
    Here's some of my code:
    @font-face
         src:                        url("assets/fonts/FuturaCom-Medium.ttf");
         font-weight:               normal;
         fontFamily:                 myFuturaMedium;
         advancedAntiAliasing:       true;
         embedAsCff:                 false;
    .myDatagrid{
         fontFamily: myFuturaMedium;
         color: #ff0000;   
    this worked well in beta2, but I'm not able to get the embedded Font working in the datagrid with the Flashbuilder final release.
    Any help on using embedded fonts in a mx|Datagrid is highly aprechiated.
    Cheers

    Hey guys,
    I'm switching a current Project from Flashbuilder Beta2 to the Flashbuilder final release.
    I have a big problem concerning embedded fonts. The fonts I have to use are Futura Com Medium & Futura Com Heavy.
    Here's some of my code:
    @font-face
         src:                        url("assets/fonts/FuturaCom-Medium.ttf");
         font-weight:               normal;
         fontFamily:                 myFuturaMedium;
         advancedAntiAliasing:       true;
         embedAsCff:                 false;
    .myDatagrid{
         fontFamily: myFuturaMedium;
         color: #ff0000;   
    this worked well in beta2, but I'm not able to get the embedded Font working in the datagrid with the Flashbuilder final release.
    Any help on using embedded fonts in a mx|Datagrid is highly aprechiated.
    Cheers

Maybe you are looking for