This component requires that the embedded font be declared with embedAsCFF=false.

I'm getting the following warning for my project.
"warning: incompatible embedded font 'MyFont' specified for views::MyViewInnerClass0 (MyViewInnerClass0_61) . This component requires that the embedded font be declared with embedAsCFF=false."
Here's what I have in my style.css file.
/* CSS file */
@namespace s "library://ns.adobe.com/flex/spark";
@namespace supportClasses "spark.globalization.supportClasses.*";
@namespace views "views.*";
@font-face {
          src: url("assets/MyFont.ttf");
  fontFamily: "MyFont";
  advancedAntiAliasing: true;
  embedAsCFF: true;
@font-face {
          src: url("assets/MyFont.ttf");
  fontFamily: "MyFont";
  advancedAntiAliasing: false;
  embedAsCFF: false;
The 2nd font section I have is what is suggested as the fix in most places but that isn't working out for me. I wonder if I'm missing something else.

I tried changing the name and it didn't work. Tried all sort of combinations too and none worked. Tried a different font and that didn't work too.
Turns out the problem wasn't in the declaration of the fonts but where I was using it.
I initially had the font declared globally
global
   fontFamily: DroidSansMono;
I saw that, in your comment you had mentioned "..then apply it to the component" so I applied the font to the label component
s|Label
  fontFamily: DroidSansMono;
and boom.. no warning. Problem solved.
Thanks so much.

Similar Messages

  • This component requires that the embedded font be declared with embedAsCFF=true.

    Hey all,
    I fall into a small problem with fonts embedding. In my application I have embedded over 50 fonts and all expect one works as expected.
    That one shows an error "warning: incompatible embedded font 'Algerian-CFF' specified for spark.components::RichEditableText (RichEditableText310) . This component requires that the embedded font be declared with embedAsCFF=true."
    I have been looking all over the internet for similar problem, without success. Why this font is not working while all the rest does? Any clues?
    /* CSS file */
    @namespace s "library://ns.adobe.com/flex/spark";
    /* embedded font */
    @font-face {
    src: url("ttf/ALGER.ttf");
    fontFamily: Algerian-CFF;
    Thanks.

    Thanks,
    My issue is not to embed a font twice. Let me describe the issue so this will helpful.
    I have embed a fonts like below code.And apply LucidaBlackletterSpark font for spark component but it gives me error like
    "warning: incompatible embedded font 'LucidaBlackletterSpark' specified for spark.components::RichEditableText (RichEditableText2301) . This component requires that the embedded font be declared with embedAsCFF=true".
    But Font have already embedAsCFF property true. I am not able to find the solution why it is give me this warning.Due to that i am not able to embed a font.
    @font-face {
              src: url("assets/fonts/LucidaBlackletter.ttf");
              fontFamily: LucidaBlackletterSpark;
              embedAsCFF: true;
    @font-face {
              src: url("assets/fonts/LucidaBlackletter.ttf");
              fontFamily: LucidaBlackletterMX;
              embedAsCFF: false;

  • After I optimize my pdf I get this error  "Cannot extract the embedded font 'FONT NAME' Some characters may not display or print correctly.

    After I optimize my pdf I get this error  "Cannot extract the embedded font 'FONT NAME' Some characters may not display or print correctly.

    This Acrobat forum may be a better place to ask: https://forums.adobe.com/community/acrobat/creating__editing_%26_exporting_pdfs

  • Cannot extract the embedded font 'FONT NAME' Some characters may not display or print correctly

    After I optimize my pdf I get this error  "Cannot extract the embedded font 'FONT NAME' Some characters may not display or print correctly.
    Acrobat X 10.1.10
    I am optimizing to create a smaller lores file to email .

    I am not trying to remove the font.
    I am trying to reduce the size of the file to email.
    After optimizing the file this error pops up.
    I have tried changing the setting for fonts but no success.

  • A login webpage gives the message "This script requires that jquery.js be loaded first." then will not show the user ID and password login boxes. How can this be corrected?

    A login webpage gives the message "This script requires that jquery.js be loaded first." then will not show the user ID and password login boxes. How can this be corrected?

    That message is listed in two scripts on the bank's site. One function that can display the message is named PhotoRotator and the other is named PromoRotator. However, I can't seem to trigger the error myself.
    If you have any add-ons that alter the page, such as ad blockers, try creating an exception for these sites and see whether that helps:
    www.northrim.com<br>
    www.northrimbankonline.com
    You also could try this logon page: https://www.northrimbankonline.com/onlineserv/HB/Signon.cgi
    (''Obviously you should be cautious about links offered on public forums to ensure you are not being phished! Check them out carefully before entering your username and password.'')

  • Cannot extract the embedded font arial.Some char might not be displayed

    Hi Folks,
                  Our requirement is to generate the customer account statement for a set of cusomters during a particular period.
                         we  use a script to generate the statement and convert it to pdf.This pdf is then stored in the application server and retrived using cg3y transaction.The transaction allows the statement to be generated for multiple customers and company code.
    the problem that we face is that the first customer account statement is generated properly the rest of the statements are not displayed properly.When we open the customer account statement we get the error 'Cannot extract the embedded font arial.Some characters might not be displayed properly'.All the Headings that we of the font BOLD ARIAL were not displayed.
    This error does not occur for the first pdf file generated.(say we have 3 customers  for the 1st customer pdf is proper however for the next two error'.
                         When I checked the application server I found that the first file has font subtype as Type1 and then rest of the files have font subtype as Truetype.
    This is working fine.I downloaded the file to pc using cg3y.the pdf looks fine.                   
    Directory:  /home/nwfound/n_us_cas
    Name:       0010798791US13122009.PDF
    %PDF-1.3#
    2 0 obj#
    /WinAnsiEncoding#
    endobj#
    3 0 obj#
    <<#
    %Devtype SAPWIN   Font COURIER  normal Lang EN#
    /Type /Font#
    /Subtype /Type1#                       ****see here font subtype is type1
    /BaseFont /Courier#
    /Name /F001#
    /Encoding 2 0 R#
    >>#
    endobj#
    4 0 obj#
    <<#
    /Filter 5 0 R#
    /Length 6 0 R#
    /Length1 352224#
    >>#
    stream#
    This one is not working fine.Gives an error 'Cannot extract the embedded font arial.Some characters might not be displayed properly when downloaded to pc using cg3y.The heading that were of font ARIAL BOLD were not displayed.
    Directory:  /home/nwfound/n_us_cas
    Name:       0010000105US13062010.PDF
    %PDF-1.3#
    2 0 obj#
    /WinAnsiEncoding#
    endobj#
    3 0 obj#
    <<#
    %Devtype SAPWIN   Font COURIER  normal Lang EN#
    /Type /Font#
    /Subtype /TrueType#                - see here the subtype is True type.How can i change this?
    /BaseFont /Courier#
    /Name /F001#
    /Encoding 2 0 R#
    >>#
    endobj#
    4 0 obj#
    <<#
    /Filter 5 0 R#
    /Length 6 0 R#
    /Length1 352224#
    >>#
    I have to change the tont subtype to Type1 as in my first cust. statement.Is there a way to this???????
    There can be no problem with the code cause the account statement generated for first customer is perfect.
    Any suggestions will be appreciated.
    IF hotfdata[] IS NOT INITIAL.
    *Convert otf data to pdf lines.
        CALL FUNCTION 'CONVERT_OTF'
          EXPORTING
            format                = 'PDF'
          IMPORTING
            bin_filesize          = l_size
          TABLES
            otf                   = hotfdata
            lines                 = li_pdf_output
          EXCEPTIONS
            err_max_linewidth     = 1
            err_format            = 2
            err_conv_not_possible = 3
            err_bad_otf           = 4
            OTHERS                = 5.
        IF sy-subrc <> 0.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
            WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
        ENDIF.
    *clear hotfdata otherwise next empty cust acc. statement may have
    *this data.
        REFRESH:hotfdata.
        CLEAR   hotfdata.
    *If account statement is generated then set w_flag to generate email.
        w_flag = 'X'.
    *The converted pdf lines are of char132 format.
    *They have to be converted to char255 format.
        LOOP AT li_pdf_output INTO lwa_pdf_output.
          TRANSLATE lwa_pdf_output USING ' ~'.
          CONCATENATE l_gd_buffer lwa_pdf_output INTO l_gd_buffer.
          CLEAR lwa_pdf_output.
        ENDLOOP.
        TRANSLATE l_gd_buffer USING '~ '.
        REFRESH li_mess_att.
        DO.
          li_mess_att = l_gd_buffer.
          APPEND li_mess_att.
          SHIFT l_gd_buffer LEFT BY 255 PLACES.
          IF l_gd_buffer IS INITIAL.
            EXIT.
          ENDIF.
        ENDDO.
        CLEAR   x_objcont.
        REFRESH x_objcont.
        LOOP AT li_mess_att.
          x_objcont = li_mess_att.
          APPEND x_objcont.
        ENDLOOP.
    *application file name
        CONCATENATE po_filun kna1-kunnr save_bukrs datum02+4(2)
                      datum02(4) lc_pdf INTO l_filename.
        CONDENSE l_filename NO-GAPS.
        CONCATENATE file l_filename INTO file.
        CONDENSE file NO-GAPS.
    *Transer pdf data to app. server.
        "data len type i.
        OPEN DATASET file FOR OUTPUT IN BINARY MODE.
        LOOP AT x_objcont.
          TRANSFER x_objcont TO file.
        ENDLOOP.
        CLOSE DATASET file.
      ELSE.
        REFRESH:hotfdata.
        CLEAR   hotfdata.
      ENDIF.

    Hi,
    this can be related to the compression of the PDF file.
    You can turn off the FlateDecode compression again via report RSTXPDF3 as described in Note #843480. It is a little confusing. The option 'FLATE_COMPR_OFF' needs to be set to 'On' to turn off the FlateDecode compression.
    To set this please run as follows:
    se38 -> RSTXPDF3 -> enter 'FLATE_COMPR_OFF' in the 'Name' field -> Select 'Change Settings' radio button
    You will get a pop-up 'Do not use flat compression'.
    Select the 'on' button.
    After this check if the PDF is created correctly.
    regards,
    Aidan

  • Reader does not use or display the embedded fonts

    I have an odd problem with both Reader X and XI. Neither one will use the embedded fonts when opened from an email. I can forward from that PC to any other PC and the fonts will display correctly. The HP is Windows 7 64 bit. I can view the document that was forwarded through it on XP, Win7 Win8 or Ipad and it displays correctly. The "use local fonts" is uncheck but it seems to ignor the change.

    Adobe PDF Plug-In For Firefox and Netscape 10.1.7 ?
    I think you need to add this to the list of applications and the action to take on the type of content. This can also be managed in the about:permissions page. [[Permissions Manager - Give certain websites the ability to store passwords, set cookies and more]]

  • Error message: "Cannot extract the embedded font DAAAAA+Arial MT..."

    hello,
    after open an pdf file I get the error message "Cannot extract the embedded font DAAAAA+Arial MT..." I get this message with Adobe Reader Version 6.x, 7.x, 8.x and 9.0 on three different pc (Windows XP). The file was written with Adobe Acrobat Version 8.1
    I found the kb402950 but the solution to use Version 7.x didn`t work.
    Any other ideas?

    Hey k%20street,
    There seems to be a font issue within this particular file, but you cannot do anything using only Reader.
    So, as long as it displays correctly, there should be no problem with printing. It is simply a warning that apparently something was a miss in an embedded font and result might not be as expected.
    Regards,
    Anubha

  • Cannot extract the embedded font...

    I am encountering the following message when opening a particular .pdf:
    Cannot extract the embedded font "Arial,Bold". Some characters may not display or print correctly.
    I've attempted to open his file at different PCs-message persists.
    Adobe Reader 8.1.2
    Windows XP SP3
    Dell Optiplex 745
    2GB RAM

    According to this thread: http://choorucode.wordpress.com/2010/02/02/adobe-acrobat-embedded-font-error/
    the error relates to a font that is used in the document that is incompatible with the version of Adobe Reader being used (or is an outdated font). On the extreme side, the font itself could be corrupted on the PC of the person who created the PDF. So, you'd want to check:
    1) Is the font file on the PC corrupted (does this happen only for documents created by one user on one machine)?
    2) Is the font outdated/unsupported?
    3) Is the font incompatible with your version of Adobe Reader?

  • Error " Adobe Reader - cannot extract the embedded font 'Ariel Bold "

    Hi gurus!
    I have created smartform for pdf invoice via mail to user id. when that invoice send to user id . PDF file is getting a popup -" Adobe Reader - cannot extract the embedded font 'Ariel Bold . Some characters many not display or print correctly ".
    I want to remove this unwanted popup. please provide any possible solutions.
    regards,
    Ravi

    Hi ravindra, what i can suggest you is to set a breakpoint just before ur cursor goes into the pdf part and just comment the part when it comes to the popup. its very easy and the best way to do it.
    Cheers

  • Acrobat 7: cannot extract the embedded font

    My problem is with reading some (not all) imported files with Acrobat 7 Professional. Certain files that will open with both Acrobat Reader 5 and Reader 8 will not open with Acrobat 7 Professional. I could understand much better if a file would open with 8 and not with 5 & 7, or with 5 but not 7 & 8. But in these particular cases it is only 7 that will not work. I am working on a PC with Windows XP.
    I get the message:
    "Cannot extract the embedded font xxxxxxxx. Some characters may not display or print correctly"
    The entire document then appears to be blank--through interestingly enough I can carry out other Acrobat 7 operations such as deleting specific pages in the pdf file.
    I suspect that there is a simple preferences setting that is wrong, but have been unable to find anything that helps.
    Any help would be appreciated.
    Of course, I may not be in the right forum, and this is really a problem with the "Professional" package, not just the Reader.

    Hi Markus ,
    It is a problem with the pdf file being encoded as ascii by the email program when it is really binary. The way to get around the problem is to zip the file or use a different email program or change the encoding method if possible.
    Regards
    Sukrit Dhingra

  • Error message from Adobe Reader. cannot extract the embedded font 'LICCMC+MyriadPro-Light'. some characters may not display or print correctly. Print looks like gibberish

    Trying to view/print PDF documents from website. Print looks like gibberish and is unreadable. Problem is with the embedded fonts. Error message from Adobe says cannot extract the embedded font 'LICCMC+MyriadPro-Light'. some characters may not display or print correctly.

    Try Adobe support, that's not a Firefox support issue. <br />
    http://forums.adobe.com/index.jspa

  • HT5654 I have a new iPhone 5s. When I try to sync it with my iTunes account it is unable and advises to update iTunes to version 11.1. Whn I attempted this iTunes advised that the current version I have (10.6.3) is the most up to date!

    I have a new iPhone 5s. When I try to sync it with my iTunes account it is unable and advises to update iTunes to version 11.1. Whn I attempted this iTunes advised that the current version I have (10.6.3) is the most up to date!

    If you're on a Mac, you need to upgrade it to Mac OS X 10.6.3 and then 10.6.8, which requires that it has an Intel CPU and at least 1GB of RAM.
    (100999)

  • Cannot extract the embedded font - Adobe Reader XI

    Hello,
    I have an XPS file converted to a PDF with an embedded font inside, when I open the file, as I scroll to a page having '&' in the text (that's my case, but it's probably the same with any special character), a message box shows up saying "Cannot extract the embedded font 'HDGSLM+[my font]'. Some characters may not display or print correctly." and I can't see the special character in the page.
    I checked that my font was actually embedded in the PDF (File -> Properties -> Fonts) and seems to be ok, normal characters look fine and the application doesn't say anything until I scroll to the page with '&' inside. Also, other PDF readers show the document fine.
    I looked around the forum and saw that other people got the same problem and to them was a bug introduced in Adobe Reader 8.x, but nothing was confirmed by developers.
    Can you help me? Is it a bug? If yes, is Adobe working on it?
    Thank you.
    P.S.
    My Adobe Reader version is 11.0.4

    Reader can not create PDF files, so you should look for bugs in the software that was used to generate it.

  • Cannot extract the embedded font 'IEOFAD+TimesNewRoman'.

    I am a Mac OS X 10.6.8 and Adobe reader X 10.1.4 user. When I'm opening a pdf file, this error message come out: Cannot extract the embedded font 'IEOFAD+TimesNewRoman'. Some characters may not display or print correctly.
    How do I solve this problem? Thanks.

    Your question pertains to the Mac version of Adobe Reader. I've moved it to the Adobe Reader forum.

Maybe you are looking for

  • Adobe X Standard Functionality

    I am trying to determine if Adobe X Standard contains the PDF Portfolio functionality or not. Adobe's site has a document that compares the functionality of Reader, Standard, Pro and Acrobat Suite versions and in that document it indicates the Portfo

  • Muse suddenly wroking very very slowly.

    I've only been using Muse for a few days now. I am only building one site and it contains 2 master pages and 7 pages.  I have attempted to keep my graphics small. This site is still basically still just a skeleton site. I do have a portfolio that con

  • Listener for a JTabbedPane

    HI all, I am trying to update a String on a "summary tab sheet" (in a JTabbedPane) when the tab is selected. When I look in the API, I notice that it has a ChangeEvent associated with it, but I am not quite sure when it fires. I was assuming that it

  • HT4859 what will happen if i refresh my icloud backup

    what will happen if i refresh my icloud backup

  • 12.c and Attribute Value

    Hi, I am using the latest version of JDeveloper 12c. In previous releases, when you have a list of values in one of your view attributes, inf you use the expression #{bindings.yourLOV.inputValue} you would receive the id rather the String representin