How to embed an OpenType font in Beta 2?

Hi Folks
I'm trying to embed an OpenType font into a Flash Builder Beta 2 project and haven't been successful yet.
What I've tried so far:
1. changing the order of the font managers in the flex-config.xml file, to put the one that handles OpenType first:
<manager-class>flash.fonts.AFEFontManager</manager-class>
2. in the .css file for the main mxml file, changing   embedAsCFF: true;  to embedAsCFF: false;
3. embedding the font using a .swf file containing the font made in Flash CS3, and referencing that in the .css file
4. embedding the font in <fx:Script/> using [embed]. Got an error message on the src line (Embed is only supported on classes and member variables.)
[Embed(source="/Library/Fonts/CalliopeMVBStdRg.otf",
         fontStyle = 'normal',
         fontName='Calliope MVB Std Regular',
         mimeType='application/x-font',
         embedAsCFF="true")]
Any ideas on what my mistake is?
Thanks for your attention
Kearney Buskirk

It should just work in CSS with @font-face.  What error did you get?
        @font-face
When you tried #4 did you add the in front of a member variable?
[Embed(source="/Library/Fonts/CalliopeMVBStdRg.otf",
         fontStyle = 'normal',
         fontName='Calliope MVB Std Regular',
         mimeType='application/x-font',
         embedAsCFF="true")]
public static var CalliopeRegular:Class;
Alex Harui
Flex SDK Developer
Adobe Systems Inc.
Blog: http://blogs.adobe.com/aharui

Similar Messages

  • How to embed the needed fonts in a pdf file

    Dear Sir/Mam,
    We had purchased licenced version of adobe acrobat x pro
    We are facing issues while embedding the font in the pdf file
    Please find the below mentioned requirement
    Requirement:
    We have a pdf file (template) with some static images and static text in it
    We need to populate dynamic data in the pdf file for this we may use text boxes
    We need to set the font name for the text box and embed that font in the pdf template (Eg:Font to be used in textboxes is "RotisSansSerif-Bold")
    Queries
    Please let us know how to embed the needed fonts in the pdf file?
    Once user exports the pdf file, even if user doesnot have the fonts installed in his system the text need to be displayed in the same fonts,how to acheive this?Eg:if we define "RotisSansSerif-Bold" as font in the textboxes,after exporting the data the text need to be in the same font.
    Note:
    Fonts will only installed in the application server and not in the client system
    The mentioned requirement need to work on below mentioned specifications
    OS:Windiows-XP,  Browser:IE
    OS:Mac osx, Browser:Safari
    Regards,
    S.N.Prasad

    There is a similar post just a few away from yours. I will suggest what I would try. Open your job settings file (press or print preferred to get all fonts) and then select the properties and the font tab. At your font to the always embed list and you will likely need to uncheck the subset box. Then save your job settings (give it a name that is meaningful to you, you can not use the settings file you started with as they are read only and I do not recommend changing that). Maybe that will do the job. Of course that is for the creation of the PDF, I forgot you were talking about a form. You might check the form field properties, but I suspect you have already tried that. Guess I don't play with forms enough. Others may be by to answer.

  • How to Embed some specialy Font and Change Text Font Property in SDK?

    hello everyone,
        when i write my plugin,i met with some problem about the Font.
        first,i add some text in the PDF Page using the JavaScript,and want to use some special,and all failed and use some font instead which acrobat own.does the acrobat can embed some font that installed in the system? and how to use it in the sdk?
       second,i can use the touchup tools to change the text property,such as the font,size and scaling,how can i do it in my plugin in the sdk suppose i can get the text object?
       thanks.

    WHICH APIs are you using to add text to a PDF via JavaScript?  There are a few different ones and they each have various options with respect to fonts.
    As to the general answer, if the font allows embedding, then we will embed it - if it does not, then we won't. That simple.
    There are no APIs for JavaScript to change such attributes, only to plugins.

  • How do i make system fonts look better?

    i am attempting to use univers, which is a system font and so exports as an image. i am using it at a larger size. when i preview in browser, it looks choppy. is there a way to make these system fonts less so, closer to the regular look of web safe fonts? thank you.

    The short answer is set an opaque background fill on the text frame (it can be a solid color, gradient or background image).
    When the browser or OS is drawing live text, it has the benefit of knowing the exact color of every pixel that will be behind the edges of the text and it uses this knowledge to adjust the colors of the edges of the text to smooth the appearance—a process called anti-aliasing.
    When Muse is creating an image for a System Font in a text frame with a no fill (or a semi-transparent fill), Muse can't know with certainty exactly what colors will be behind the text. Therefore Muse uses a "grayscale" version of anti-aliasing. Grayscale anti-aliasing provides a better appearance than the hard stair steps of no anti-aliasing, but the end result is inferior to the color anti-aliasing that's possible when the background pixel colors are known and opaque.

  • Flash CS4 - How to embed characters into font symbol ?

    Does anybody know how to decide what characters will be
    ebedded in font
    symbols?
    For now, it seems that Flash has unchangable list of
    characters which will
    be added. Unfortunately there are no characters used in
    central Europe which
    means that Flash can't be used to present dynamic text
    contents in these
    countries. Maybe somebody knows how to workaround this bug if
    solution not
    exists?
    Regards,
    Marek

    > Either your copy of Arial doesn't have glyphs mapped to
    the characters
    > you're
    > using in which case you need to change fonts or you're
    not embedding the
    > font
    > correctly.
    >
    > Can you give me an example of a Polish character that
    doesn't display so I
    > can
    > try it?
    In the meantime I have found the source of the problem!
    Responsibility for
    all problems bears option "export for ActionScript" checked
    on in font
    symbol. When this option is activated another character set
    is embedded into
    SWF file than in case when option says inactive.
    I have created FLA file with one dynamic field and embedded
    font symbol with
    default name Font 1. Dynamic field has 6 characters added to
    "Character
    Embedding". "Font 1" family is assigned to this text field.
    When SWF is
    exported then those 6 characters are present in size report.
    Only those
    characters can be used in text field content obviously. Other
    will be not
    displayed, which is ok.
    Now I turn on option "export for ActionScript" in font
    symbol. The size
    report shows that much more characters is exported but
    WITHOUT any Polish
    characters even if they were included into mentoned above 6
    characters.
    Since then it stopped to be possible using CE characters.
    If you want I can create 2 FLA files differ from each other
    state of that
    option.

  • OpenType font won't work in PDF created from PM 7.0.1a file

    Per my client's request, I had to purchase a lovely new OpenType font, AJenson Pro, for a book project I'm paging using PageMaker 7.0.1a in Windows XP. First it wouldn't print on my postscript HP laser printer, but downloading an updated printer driver from the HP web site easily fixed that problem. But I have done everything I can think of and I can't get the new font to appear in a .pdf created using Acrobat Distiller 5.0.5, which came bundled with PageMaker.
    The font shows up in the finished .pdf as boxes with X marks in them instead of letters! I'm not trying to use anything but standard characters (no glyphs, etc.) in the font. I've been using PageMaker and creating .pdf files in Acrobat Distiller 5.0 for years and have had no problems until I got this new font. Adobe Type Manager shows that it is installed and it looks great on the screen.
    I purchased the entire AJenson Pro font family from MyFonts.com, so I have bold, bold ital, etc. Their technical support couldn't suggest anything I hadn't already tried.
    I'm planning on upgrading my PageMaker to InDesign soon, but I'll need a new computer to meet the minimum system requirements so I've been putting it off. I'm afraid to even download the free 30-day trial on my older computer. Any suggestions on how to get this OpenType font to work in a .pdf created using PM 7.0.1a and Acrobat Distiller 5.0, or do I have to upgrade to InDesign right away? I need to be able to create a .pdf so I can e-mail proofs to my client and eventually to send the finished book to a commercial printer. Thanks!

    I have had this same problem myself with most Open Type fonts. It's very irritating, because it seems like most of the new fonts are being issued exclusively in Open Type.
    I have developed a work-around, which you can attempt at your own risk.
    Purchase the software FontCreator (I use FontCreator 5.6 Home Edition). It's not very expensive.
    Open the problem font in FontCreator, and save it with a different name. In the process of saving it, the font will be converted to a TrueType font. Install the new version of the font. In my experience, you can then successfully use the font in Pagemaker, and convert it to a pdf.
    This is not a perfect solution because there will be a *very* slight diminishment in the crispness of the lines of the font -- but this is only visible when the font is magnified to something like 6400% in Acrobat. It is not visible to the naked eye, or at least not to my naked eye.

  • How do I get OT fonts to stop distorting on Web pages (in Internet Explorer)?

    I created a great-looking newsletter in Adobe InDesign CS4 (I work for a very large organization and am still waiting for newer software, sorry). It used Adobe OpenType fonts including Myriad Pro, Myriad Pro Black, and Adobe Caslon Pro. I selected "Optimize for web use" when exporting it.  Our Web team then placed the PDF on our web page, using FTP.  When people viewed the PDF in Internet Explorer 9, (again, my organization is slow to change) the fonts either were distorted or did not even look like text.  The same PDF looked fine in Google Chrome and IE 11. In addition to being held at ID CS4 and IE9, we are also at Acrobat Profession version 10.
    I did three things to prevent this issue:
    I reloaded the old PostScript versions of Myriad (from PageMaker) and Adobe Caslon into the Fonts subfolder of my InDesign application folder, to deal with the body text.
    In InDesign, I clicked Edit, selected Transparency Flattener Presets, and created a new preset with the Convert All Text to Outlines box checked (see illustration below),
    I created a new PDF Export preset, which compresses images down to 72, 72 and 150 DPI respectively but did NOT check the "Optimize for Fast Web View" box.  I also did NOT check"compress text and line art" in the dialogue box. I temporarily set Compatibility down to Acrobat 4, and then selected the new "textoutline" transparency flattener preset that I made in Step 2. I then reset Compatibility to Acrobat 8 and saved the preset (the transp0arency flattener is now selected but grayed out).
    This stopped the distortion. (We continued to use Myriad Pro Black as a headline font). However, PostScript fonts are 20th Century. How can I use Adobe OpenType fonts in the future instead of PostScript fonts?

    Still trying to solve the problem. It may be one of my Acrobat job options. Any ideas on how to get Adobe OpenType fonts NOT to pixilate in PDFs created in InDesign CS4 viewed on the Internet in older versions of Internet Explorer?

  • Does Lightroom Support OpenType Fonts?

    When selecting a font in the Lightroom Slideshow module no OpenType fonts are displayed, although they are available in other apps. How can I use OpenType fonts in Lightroom on Windows Vista?
    Thanks,
    Rob

    No. See http://helpx.adobe.com/lightroom/kb/tethered-camera-support-lightroom-4.html

  • How to embed fonts in a PDF

    I have a book which uses Garamond Light Italic and Helvetica light Oblique. Only 2 styles of 2 fonts.
    The printer wants me to embed the entire font families with the PDF files.
    My problem is that I don't know how.
    All I know is that it will only embed the files being used in the document.
    Should I include one letter of each style of each of the 2 fonts, so that the computer will know which fonts to embed?
    Or, is it as simple as entering 100% in the Subset font below window?
    I'm certain there must be a better and easier way.
    Also, it there a way of verifying that the proper fonts have been embeded?
    Please, I need your advise.

    LilyLC, All seems to have come to a conclusion this afternoon.
    It seems that when I create individual pages, make PDFs of them and then merge them with PDF merge, what's happening is that the fonts are being embeded with each page. Apparently the RIP gets confused with all the fonts embeded and substitutes courier.
    The printer recommends that I save the entire book as one document, and convert that document into one PDF file, thereby, embending the fonts once.
    They guarantee that the book will print properly if I follow the above.
    I had been reading through the printers vast instructions and noticed the paragraph relating to this problem, and they confirmed it.
    They sent me a print out of the fonts embeded in my book and the 2 fonts were repeated for each page, 32 times.
    I called Quark about a distiller (whatever that is) and the Custom and Roman encoding. Their answer was that none of it was Quark related. I would have to speak to Adobe.
    I was made to understand that the only reason I would need a distiller is if I had postscript files to convert into PDFs. Since I was generating PDFs directly there was no need for the distiller.
    I don't know how they print these books, other than the covers print RGB and the inside in CMYK. I always convert the CMYK photos.
    I've been satisfied with the quality of their printing and the people, that's why I went through all the trouble to solve the problem.
    I enjoy writing books for my 2 grandchildren. I've done 8 books in the past year.
    You've been a big help, in that you persevered and explained in easy to understand language.
    Again, thanks for all your help and to Limnos who made the original suggestion. I guess you can go back to enjoying the rest of the summer.
    I will now make some reference notes for the future use.
    If, by any chance this doesn't work out I'll will be posting back for additional help.

  • How to remove OpenType fonts and leave only TrueType?

    Hi,
    in Font Book there are some fonts being both OpenType and TrueType, and some only TrueType. Because of some compatibility issues I'd like to have only TT fonts (remove an OpenType version of those fonts that have two kinds). Could you explain me how to do it?
    Regards,
    MJ.

    I think, you should avoid the fonts to appear in the exported PDF in the first place, not manually remove them.
    In the export/conversion settings you can usually select between, like, "embed only used fonts" or "embed no fonts at all".
    Also, non-embedded fonts are not embedded - so why care about them? The PDF just contains information on the used fonts from the application you used to make the PDF (Word), for font substitution.
    " fonts list to be bloated with fonts I don't actually use." What does that mean? What font list? Do you think that the embedded font of a PDF will be installed on the system somebody watches the PDF on? If so, then no, it won't.

  • How to embed fonts in a textbox in adobe acrobat 9

    Hi all,
    The forms has beed designed in adobe acrobat 9.It has the text in the textboxes with a fontstyle of DejaVu Sans Mono.The client or the user generates the form by clicking on the appropriate link and the textboxes are populated accordingly.The problem is they dont have the fontstyle used in the textbox installed on their system.So whenever they generate the pdf the font in the textbox doesn't print in properly.Is there anyway we could force it to use the font which we have originally set up.Thanks in advance

    Bernd Alheit wrote:
    Read this:
    http://www.ehow.com/how_6566713_embed-fonts-pdf.html
    I have the somthing like the following in Ctrl-D Fonts. They can not be embedded using the method above. I guess it is because the fonts in the original pdf are not available in the system. But how to embed the substitutes in the pdf file.
    Helvetica
        Type: Type 1
        Encoding: Custom
        Actual Font: Helvetica
        Actual Font Type: TrueType

  • How to embed font into PDF - Listener 2.0.2 FOP configuration

    I need to embed custom font into PDF report in order to print one of Slovenian characters: Č (C with caron) This character shows as # sign when I generate standard PDF report using Apex 4.2.2 and Listener 2.0.2. As far as I understand 14 native Adobe PDF fonts are based on Windows 1252 encoding. This encoding doesn't include mentioned Slovenian character.
    Oracle White paper http://www.oracle.com/technetwork/developer-tools/apex/learnmore/custom-pdf-reports-1953918.pdf says:
    "APEX Listener 2.0.2 supports only the Base-14 fonts. To configure additional fonts, see this document: Apache(tm) FOP: Fonts "
    I was able to embed my custom font into standard Apache FOP report server. Solution consist of saving two files my_font.ttf and my_font.xml to server and update of FOP userconfig.xml file (fonts part where path to saved 2 files have to be specified)
    How can I do this on Apex Listener 2.0.2 ? Where is located userconfig.xml file?
    Simon

    Hello Ivaylo Mutafchiev,
                                           There is no way we can control the fonts in the created PDF / while creating the PDF using the class cl_document_bcs in your PDF creation logic.
    You can try some other approach of creating PDF from the Smartforms OTF stream data .
    Try using the follosing FM for the PDF creation and sending email:
    CONVERT_OTF_2_PDF
    CONVERT_OTF_AND_MAIL
    SO_OBJECT_SEND
    CONVERT_OTF_AND_MAIL_NEW (Try this but this FM still uses  the class that you are using currently. But give it a try and see the results)
    Hope this answers your question.
    Thanks,
    Greetson

  • How to Embed Fonts and make Grayscale in Acrobat Pro 9 PDF

    I supplied my printer with a PDF but he says that I need to "Embed The Fonts" in the PDF.
    I made the original document in MS WORD and then I created the PDF in Acrobat Pro 9 but nowhere
    along the way did I see anything that asked me to Embed The Fonts.
    He also says that the type is in RGB but it needs to be in Grayscale.
    When I created the PDF I didn't see any option along the way that gave me a choice between
    RGB and Grayscale.
    Any ideas how to achieve these two effects while going from an MS WORD document to a PDF using
    Acrobat Pro 9 please?
    Any help would be much appreciated.

    Sorry to bother you with my problem but I wondered if you could explain a little bit more about things I didn't understand.
    1 - you said > On a Mac there is no advantage to using the Word plug-in.
    Do you mean that I can type directly into Acrobat?
    I thought that a document needed to be created in a word processor first before I could turn it into a PDF.
    Is that incorrect then?
    2 - > Create the pdf file a print file menu gives you greater control.
    I do apologize but I did not understand this statement either, could you please expand on it a little (to a non-techie.)
    3 - > If you use the Press job option setting, the fonts will be embedded.
    I can't find Press job option setting anywhere - I am using Acrobat pro 9 but there doesn't seem to be a menu with Press
    anywhere, could you please expand on this a little bit too please.
    4 - > If the pdf file has already been created it can be converted to greyscale using the Preflight or Convert Colors
    under Advanced -> Print Production.
    I understood this part and I executed it according to your instructions so thank you for that.
    Unfortunately I couldn't find out how to embed my fonts and my printer charged me $75 to do that
    so I was pretty upset about not being able to understand that part of your explanation.
    Since the printer was able to embed the fonts in a document that was already a PDF then it must be possible
    to embed fonts after a PDF has been created, is that correct?
    If that is correct then i don't know how I could not find how to do it because I looked everywhere for that
    ability but I could not find how to do it.
    I'd be very grateful for any further help you could give, thank you.

  • How to Embed fonts in existing PDF file

    HI,
    I want to know how to embed the fonts in an existing PDF file, i do have Acrobat.
    Thanks

    Post your question in the forum for Acrobat.

  • How to embed fonts in a pdf file

    I have a pdf that has some fonts not embedded. I think that distiller might be able to embed the fonts when I print the pdf file, but it is inconvenient and may not always work. Is there a direct way to embed the fonts in Acrobat? Thanks!

    Bernd Alheit wrote:
    Read this:
    http://www.ehow.com/how_6566713_embed-fonts-pdf.html
    I have the somthing like the following in Ctrl-D Fonts. They can not be embedded using the method above. I guess it is because the fonts in the original pdf are not available in the system. But how to embed the substitutes in the pdf file.
    Helvetica
        Type: Type 1
        Encoding: Custom
        Actual Font: Helvetica
        Actual Font Type: TrueType

Maybe you are looking for