Document merge problem due to embedded fonts

I am trying to merge 6 single page pdf documents into one pdf file.
I am receiving this error on two of the six docs:
"These documents contain subset fonts that have the same name and cannot be merged"
Can anyone help me work through this issue?
I am working with Adobe Acrobat 5.0.5 10/26/2001
Thank you
Joe

I have exactly the same problem. How do I turn the subset off? Ticking off the option with percentages doesn't help.. What else could cause the problem? Please help, it's pretty urgent!
Thank you in advance,
Al

Similar Messages

  • Empty Document Found: Problem due to FCC

    My scenario relates to a Sender File Adapter and a Receiver IDoc Adapter.  My Outbound Message Type / Data Type has multiple Complex elements which I later replicated to only three(3) Complex elements to simplify checking the issue. The elements defined in IR are as follows:
    1.EDI_DC: Element occuring once with multiple fields
    2.E2IDKU1: Element occuring 0..unbounded with multiple fields 
    3.E2EDKO3: Element occuring 0..unbounded with multiple fields
    IDirectory has a Sender File Adapter has a Communication channel with the following specifed in FCC:
    Document Name: MT_RecManager_Test_O
    Document Namespace: http://mrgnetwork.com/WF/RecManager
    Document Offset: <nothing specified>
    RecordSet Name: RecordSet
    RecordSet Namespace: <nothing specified>
    RecordSet Structure: EDI_DC40,1,E2IDKU1, *,E2EDK03, *
    RecordSet Sequence: Ascending
    RecordSets per Message: *
    KeyFieldName: SEGNAM
    KeyFieldType: String(Case Sensitive)
    EDI_DC40.fieldNames: SEGNAM,MANDT,DOCNUM,DOCREL,STATUS,DIRECT, EDI_DC40_FILLER1
    EDI_DC40.fieldFixedLengths: 10,3,16,4,2,1,6
    EDI_DC40.keyFieldValue: EDI_DC40
    EDI_DC40.missingLastFields: add
    EDI_DC40.additionalLastFields:ignore
    EDI_DC40.endSeparator: 'nl'
    E2IDKU1.fieldFixedLengths: 30,3,16,6,6,2,3,35,35,3,3
    E2IDKU1.keyFieldValue: E2IDKU1
    E2IDKU1.fieldNames: SEGNAM,MANDT,DOCNUM,SEGNUM,PSGNUM,HLEVEL,BGMTYP,BGMNAME,BGMREF,BGMLEV,BGMACC
    E2IDKU1.missingLastFields: add
    E2IDKU1.additionalLastFields: ignore
    E2IDKU1.endSeparator: 'nl'
    E2IDKU1.keepIncompleteFields: yes
    E2EDK03.fieldFixedLengths: 30,3,16,6,6,2,3,8,6
    E2EDK03.keyFieldValue: yes
    E2EDK03.fieldNames: SEGNAM,MANDT,DOCNUM,SEGNUM,PSGNUM,HLEVEL,IDDAT,DATUM,UZEIT
    E2EDK03.missingLastFields: add
    E2EDK03.additionalLastFields: ignore
    E2EDK03.endSeparator: 'nl'
    E2EDK03.keepIncompleteFields: yes
    ignoreRecordSetName: true
    The test file contents are as follows: (please note that I have pasted the file contents in this limited "Plain Text" field, the lines are wrapping around):
    EDI_DC40  4000000000000000000700 302112233445566
    E2IDKU1                       100000000000000000000000100000001LBXLOCKBX                             1                                       
    E2IDKU1                       200000000000000000000000100000001LBXLOCKBX                             1                                       
    E2EDK03                       10000000000000000000000020000000201120081114092712
    When I run the above file contents with the FCC RecordSet as follows, the Payload is empty and I receive a message that: Empty Document found. Proceed without sending message
    RecordSet Structure: EDI_DC40, 1,E2IDKU1,,E2EDK03,
    When I run the above file contents with the FCC RecordSet as follows, the Payload is correctly formed and I receive my message in the Integration Engine and can see it in SXMB_MONI:
    RecordSet Structure: EDI_DC40, 1,E2IDKU1,2,E2EDK03,1
    I want to be able to specify an asterisk "*" in RecordSet Structure as the file contents can vary for KeyFields E2IDKU1 and E2EDK03.
    I have seen various messages in SDN referring to checking the File contents and FCC and I have already done so without any results.  This feature has been widely used in PI.  Is there a change in PI 7.0.  We are currently running PI 7.0 / SP12.  Please advise.
    Channel <Channel Name>: Empty document found. Proceed without sending message.
    Please note that as stated before that if I change the RecordSet Structure and DO NOT specify an asterisk "*", I do not get the "Empty document found message" and the message actually appears in Integration Engine with a payload.
    Thanks in advance for your input.
    Edited by: Ravinder Masuta on Nov 25, 2008 3:43 AM
    Edited by: Ravinder Masuta on Nov 25, 2008 3:45 AM
    Edited by: Ravinder Masuta on Nov 25, 2008 3:47 AM
    Edited by: Ravinder Masuta on Nov 25, 2008 3:48 AM

    i missed the asterick
    RecordSet Structure: EDI_DC40,1,E2IDKU1,*,E2EDK03,*
    If you give the above recordset structure, what is the result?

  • 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();

  • Arial embedded font displaying jumbled on another user's machine

    I have a PDF document that uses an Arial embedded font and it looks fine on my machine, but looks like this on one of my end user's machines:
    In researching this problem all the advice points to a problem with the font, but it's just the common Arial font and it is listed as embedded. Or at least, I think it is, Arial shows up in the font list for the PDF properties 3 times, and if I use the Touchup Text tool, select the text and look at Properties, it says "Cannot embed font" although both embed and subset checkboxes are checked and disabled.
    Can anyone help please?
    -VG_mnet
    P.s. I should have mentioned that it shows jumbled on my machine too when the user emailed it to me.  I'm on Adobe Pro version 9.
    Here is the font list on the PDF properties:

    Thank you again for your help Bill@VT and CtDave.  I did play around with the Distiller but I don't think those options help me much since I do not use either of the options to create the PDF that you mention Bill.  I actually am usually starting with an existing PDF template (that has our logos and a demo title) and then I fill in the rest of the paragraphs, charts, labels and form fields.  So my understanding (now that I have explored) is that the Distiller is used for converting a postscript file to a pdf.  I already have a PDF tho.  Just for yuks, I saved my PDF as a .ps and ran it through the distiller - it correctly embedded all my fonts, but my form fields were all gone. 
    So I moved on to Plan B and looked at the preflights that Dave referred to.  After looking at a lot of instructional web pages that all told me the Preflights were of the View or Tools menu, I finally found it under Advanced->Print Production->Preflights.  I chose the option to Embed fonts (even if text is invisible), and ran it through.  It seemed to work great and maintained my form fields.  Most of my fonts are also now embedded as I had hoped.  I think this will be the way we move forward with all the existing PDFs we have in our system, but I did notice that one font still didn't get embedded.  One of the Arial's (the 1st CID in the screenshot above) is still listed as not embedded even though the other fonts listed are practically identical and are embedded.  This may be a problem on just this one PDF, and the other PDFs in my system appear to not have this issue when I run the preflight, so I'll keep playing with this one PDF, but does anyone have a theory as to why the preflight wasn't able to embed that one CID font?
    Thanks again! You have both been helpful and I've learned some new tricks!
    -VG

  • Embedding fonts in document

    I work for a Printing Display company. Illustrator CS3 allows you to embedd subset fonts only with permission bits available. The problem I'm having is some of our big customers do not want to send copies of the fonts they paid for. They save the file as a PDF with the fonts embedded so that they will view and print from either Acrobat or Reader. If I open the file in Illustrator I get a "Font missing" warning. What is the work around for this? The reason I need to open these files in a Graphics App is because we need to use our templates in order to edit colors and bleeds and such. Without the fonts it's pretty much useless. We could tell the customer to just outline all text but this is a hassle for all kinds of reasons. Would appreciate any help. Thanks.

    Paul,
    When you open a PDF in Illy, all text is made Live Type, using the same font. If it is not accessible on your machine, Illy substitutes another font based on her best guess for a best match.
    The option of having embedded fonts outlined and thereby turned into non (textwise) editable vector objects, very useful in many cases without need for modifying wording, has long been wished. I am afraid this wish has not been met yet; maybe it will happen in CS5, or later, or never.
    Those PDFs without issues only hold fonts that you have.
    I thought I remembered that there was a cunning roundabout way of obtaining this, and here it is, at least for versions from CS2 on:
    1) File>New to open a new blank document;
    2) File>Place the PDF, ticking the Link option;
    3) Object>Flatten Transparency, ticking Convert All Text to Outlines option if applicable (flattening causes outlining at least in 10).

  • 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

  • Problem with embedding fonts in Illustrator CS5

    I have just installed Illustrator CS5, and have tested creating a PDF document based on one of my existing files, as well as a new file.
    When I open these PDF documents in Adobe Acrobat Pro 9, I am told that Acrobat cannot access one of the embedded fonts (Korinna BT).
    I have had no issues with embedding this font in Illustrator CS4, and (strangely), when I open these files in other PDF viewers (Preview and PDFPenPro), they report no issues.
    Has anyone else experienced this issue?
    I have removed and reinstalled the font in question, and tested/verified that the font is OK - but still not joy.
    Regards
    Jeremy

    The error message I get is:
    "Cannot extract the embedded font 'MVZTIW+KorinnaITCbyBT-Regular'. Some characters may not display or print correctly."
    When I check the fonts in the PDF in "Document Properties" in Adobe Acrobat the following is shown:
    "KorinnaITCbyBT-Regular
         Type: TrueType
         Encoding: Ansi
         Actual Font: Adobe Serif MM
         Actual Font Type: Type 1"
    It seems that Illustrator is adding some strange "code" ('MVZTIW') to the beginning of the font, which means the actual font can't be found and extracted.

  • 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

  • Embedding font problems (when exporting from InDesign to PDF)

    A message alert is shown, when opening a pdf - after exporting from InDesign: Cannont exctract the embedded Font Frutiger.
    We have uninstalled the frutiger font and installed an open type. But the font is not embedded anyhow..?
    Can anyone help?
    Thanks very much.
    Jane

    I don't know if you need help scripting this, but...........
    If you can not re-create the PDF from InDesign using the OTF,
    In Acrobat, highlight the text with the acrobat touch-up text tool, right click and go to properties. You should be able to assign the OTF font running on you system, and select the embed option.
    If not, this is why PitStop is an indespensable (sp?) tool.
    Best of luck

  • 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

  • Problem with embedded fonts

    Downloading pdf files from the web.
    Cannot extract the embedded font - does not display properly, does not print. Also sometimes get out of memory

    The wording extract is a question. Are you trying to copy the information? That may not be possible and may also be done on purpose by your bank or other company so that you can not copy the information. With Reader there is not much you can do. Either is displays correctly or not. The only option you have is to find the font, download it, and install it. Unfortunately, it may be difficult to find the correct font as many fonts have the same names, but are not compatible.
    So apparently these PDFs are being sent to you by these companies. Do they appear correct when viewing them in Reader? If so, you can probably print them by printing as a graphic.

  • Problems in CS3 and AS3 with embedded fonts

    Hi. I recently downloaded the trial version of CS3 to test it
    out. I'm an experience AS2 developper, and have 10 years of C, C++,
    C#, Java, PHP ... programming experience on BIG projects before
    starting flash.
    I have been trying to use an embedded font in AS3 with a
    dynamically created textfield. I've tried all the examples in
    O'Reilly's ActionScript 3.0 Cookbook. They suggest using the
    [Embed] meta tag, but quite honestly it does nothing in CS3. I had
    the Size Report option selected, and it shows clearly by the file
    size the font isn't present in the SWF.
    Then I tried doing it the way I did in Flash 8. Again there
    no luck. My TextField exists, but there is simple no font being
    rendered.. Here is my bit of code.
    In my library I have a symbol called arialBold. In the
    linkage settings, I have "Export for ActionScript" checked, and
    "Export in first frame" checked. The class is "arialBold" but I
    wonder if that's right? and the Base class is "flash.text.Font"
    I tried every variation I could think of. I must be doing
    something wrong. You can find my file here :
    http://www.newcommerce.ca/as3/fonttest.fla
    Thanks for your help! If you can fix this, i'll be very
    happy!

    this code works
    var tf:TextField = new TextField();
    var tfor:TextFormat = new TextFormat();
    tfor.font = new _TrebushetMS().fontName;
    tfor.italic = true;
    tf.width = 300;
    tf.height = 200;
    tf.embedFonts = true;
    tf.border = true;
    tf.defaultTextFormat = tfor ;
    tf.text = "this is a test";
    this.addChild(tf);
    This code does not work
    var tf:TextField = new TextField();
    var tfor:TextFormat = new TextFormat();
    tfor.font = new _TrebushetMS().fontName;
    tfor.italic = true;
    tf.width = 300;
    tf.height = 200;
    tf.embedFonts = true;
    tf.border = true;
    tf.setTextFormat(tfor) ;
    tf.text = "this is a test";
    this.addChild(tf);
    i don't know why

  • 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.

Maybe you are looking for