Font embedding ?

Hello, I want my user to be able to choose from a bold or italic font.
Do I have to actually embed a bold and italic version of the font in my app for this to work ?
What if I use a common system font such as Arial - do I still need to embed them ?
thanks

You don't have to embed them. just create css files for different options as below.
and use the StyleManager to load seleted css file.
eventDispatcher = StyleManager.loadStyleDeclarations("SelectedCSS.swf", true, false);
eventDispatcher.addEventListener(StyleEvent.COMPLETE, styleLoadedHandler );
Application
   fontFamily: Arial";
   fontWeight: bold;
Application
   fontFamily: Arial";
   fontWeight: normal;
Application
   fontFamily: Arial";
   fontWeight: normal;
   text-decoration : underline;
hope this helps.
BaBo,

Similar Messages

  • How do you define which character set gets embedded with a font embedded in the library (i.e. Korean)?

    I have project that uses a shared fonts. The fonts are all
    contained in a single swf ("fonts.swf"), are embedded in that swf's
    library and are set to export for actionscript and runtime sharing.
    The text in the project is dynamic and is loaded in from
    external XML files. The text is formatted via styles contained in a
    CSS object.
    This project needs to be localized into 20 or so different
    languages.
    Everything works great with one exception: I can’t
    figure out how to set which character set gets exported for runtime
    sharing. i.e. I want to create a fonts.swf that contains Korean
    characters, change the XML based text to Korean and have the text
    display correctly.
    I’ve tried changing the language of my OS (WinXP) and
    re-exporting but that doesn’t work correctly. I’ve also
    tried adding substitute font keys to the registry (at:
    HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows
    NT\CurrentVersion\FontSubstitutes) as outlined here:
    http://www.quasimondo.com/archives/000211.php
    but the fonts I added did not show up in Flash's font menue.
    I’ve also tried the method outlined here:
    http://www.adobe.com/cfusion/knowledgebase/index.cfm?id=tn_16275
    to no avail.
    I know there must be a simple solution that will allow me to
    embed language specific character sets for the fonts embedded in
    the library but I have yet to discover what it is.
    Any insight would be greatly appreciated.
    http://www.quasimondo.com/archives/000211.php
    http://www.adobe.com/cfusion/knowledgebase/index.cfm?id=tn_16275

    Thanks Jim,
    I know that it is easy to specify the language you want to
    use when setting the embed font properties for a specific text
    field but my project has hundreds of text fields and I'm setting
    the font globally by referencing the font symbols in a single swf.
    I have looked at the info you've pointed out but wasn't
    helped by it. What I'd like to be able to do is to tell Flash to
    embed a language specific character-set for the font symbols in the
    library. It currently is only embedding Latin characters even
    though I know the fonts specified contains characters for other
    languages.
    For example. I have a font symbol in the libary named
    "Font1". When I look at its properties I can see it is spcified as
    Tahoma. I know the Tahoma font on my system contains the characters
    for Korean but when I compile the swf it only contains Latin
    characters (gylphs) - this corresponds to the language of my OS (US
    English). I want to know how to tell Flash to embedd the Korean
    language charaters rather than or as well as the Latin characters
    for any given FONT SYMBOL. If I could do that, then, when I enter
    Korean text into my XML files the correct characters will be
    available to Flash. As it is now, the characters are not available
    and thus the text doesn' t display.
    Make sense?
    Many thanks,
    Mike

  • Can not copy text from pdf with unicode font embedded.

    Hello,
    I have a pdf with unicode font embedded in it. The pdf has no restrictions. When i try to copy some text text fro m pdf and then paste itin word, the text is not the same which i copied from the pdf. it changes.
    I have tried multiple softwares which converts pdf to word or pdf to excel. but none can do my job. what should be the problem? Kindly guide me.
    Thanks & Regards-
    rashmi

    Thanks for your prompt reply.
    As i said i have the font installed on my system. for your reference,
    following is the link to the pdf file. also the second link is the link to
    the fonts used. Kindly help me to sort this issue.
    https://www.yousendit.com/download/T2dkcHBEVEh0QTIwYjhUQw
    https://www.yousendit.com/download/T2dkcHBFQXBrYUJYd3NUQw

  • Font embedding problem PPT plugin Acrobat 9 Pro

    Hi,
    having just updated to Acrobat 9 Pro I encounter a font embedding problem when using the PowerPoint plugin (PPT2007) to create a PDF of my presentation. I am working under Windows 7 (64Bit) and use fonts from Mathematica (Wolfram). The generated PDF shows problems displaying the fonts, indicating that they have not been embedded (although font embedding of these fonts is set in the options). The problem does not occur if I directly print to the PDF printer - here all Mathematica fonts are correctly embedded (but this has other disadvantages since videos/animations are not integrated). The problem seems to be specific to Acrobat 9 since under Acrobat 8 everything worked correctly as well.
    Any ideas/solutions for that issue?
    Thanks & best regards
    Ralf

    Perhaps you may need to upgrade to version 9.2 (Acrobat support of Windows 7 begins at this dot release)?
    Be well...

  • Embedding fonts in an existing pdf that does not have the fonts embedded

    Hi,
    I have an existing pdf that fails to open on my ereader.
    So I opened in acrobat x pro to see what might be the cause.
    Selecting "file"--> "properties" -->"font" ( fonts used in this document) I can see that this pdf uses multiple windows trueType fonts and that none of them are embedded in the pdf document.
    Now my ereader is linux bases, so I am guessing this might be a problem.
    Being an ereader I didn' give me much to go on.
    So i would like to embed all the fonts listed in this list into the pdf file and save it again with the fonts embedded.
    I went to "file"-->"save as optimized pdf" -->"font"
    But there both lists embedded and unembedded fonts are empty.
    Why is this and how can I embed the fonts shown in the document properties into the pdf?
    They seem standard windows fonts like e.g.  ArialNarrow

    I just looked a bit furder and actually checked wether the fonts existed and found the following:
    I am using windows vista.
    The fonts mentioned in the properties of the pdf actually exist in the windows installed fonts but
    in windows they are no longer TrueType but OpenType.
    So I am guessing this might be the reason they are not in the list of unembedded fonts in the optimizer window.
    Is there an easy way to say to acrobat to replace one font ( not found on this computer) with another font that does exist and also to embed that font in the pdf document?

  • Font embedding works in 1.8 preview, not in 1.7.2

    Hello,
    I'm currently creating epubs and testing them in ADE. I am embedding Google Webfonts.
    I'm finding that many fonts embedding using @font-face are ignored by ADE 1.7.2. However, ADE 1.8 preview appears to show them as intended. Incidentally, the fonts are always shown correctly on ibooks.
    Could you please let me know what is wrong - is it a bug with ADE 1.7.2, or would there be a reason why it would not 'like' my Webfont TTFs? I've found at least one other user having a similar problem, apparently: http://www.mobileread.com/forums/showpost.php?p=1725479&postcount=7
      @font-face {
      font-family : 'FanwoodItalic';
                                            src: url(fonts/Fanwood/Fanwood-Italic-webfont.ttf);
      font-style: normal;
                        h2 {
      font-family: 'FanwoodItalic';
    Thanks for your help.

    Are the fonts obfuscated? If so, using what method?

  • Font embedding problem in PDFs

    Since upgrading to Leopard from Tiger-
    We are losing fonts embedded into pdfs, either saved through Preview or Adobe Indesign CS3.
    The preview of pdfs, both in the finder windows and in Entourage email attachments are missing fonts too. Sometimes opening them resolves the issue, but not usually.
    This has occured to both User and System level fonts.
    We have cleaned the font caches, but this only provides a temporary fix.
    We have tried not using our Suitcase Fusion and just letting FontBook manage the fonts on this machine, the problem still manifests itself.
    The only change in the equation from a perfectly operational machine was the change from Tiger to leopard.
    Any thoughts/help = greatly appreciated.
    Matt

    Update: Reader 8 on a PC displays everything fine, so it's a matter of updating

  • Need all fonts embedded in my PDF.

    I converted a word document to pdf through pdf pack. How can I get the following fonts embedded in my pdf: arial MT, arial MT bold, and arial MT italic? Thanks.

    Hi Cyn Tarr,
    You can embed fonts using Adobe Acrobat.
    PDF Pack cannot accomplish this.
    Regards,
    Rave

  • How to extract Chinese text from font embedded text PDF?

    This is actually font embedded text PDF (Used: type 1 fonts & custom encoding) and not scanned PDF, however I am unable to extract the "Chinese language" text properly and found only the garbled text when "Copy & Paste" (or save as RTF). Kindly refer the sample PDF attached for your reference.
    Kindly advise how could I solve this problem.
    Thanks in advance for your better solution.

    As I was unable to upload the sample page PDF in my original thread, I have shared now in the following path. Kindly look into this and guide me how to extract the chinese text as UNICODE text.
    Downloading: Chinese_Text_Extraction.pdf - Uploadingit

  • CSS & AS3 Font Embedding

    We have an application which is built like so:
    Framework SWC
    Application SWC
    - Sub-application for web
    - Sub-application for desktop
    - Unit test runner
    - etc.
    The applications all share a look and feel including fonts. This was easy to achieve with Flex 3 using the trick with placing a defaults.css file at the root of the Flex Library Project. This would apply the CSS in the defaults.css file as the default theme, and font embedding calls in the CSS could refer to font files in the Flex Library Project. It worked great because we are also using a Sprite-based custom label class which embeds its font using AS3.
    Now, the CSS font embed lines only work if we also place the fonts in the Sub-application. This means we have to have the fonts copied in every sub-application for the CSS as well as in the SWC for the AS3 embedded label class.
    Is there a better way to achieve this in Flex 4, if we want embedded fonts in AS3 as well as Spark components?
    Thanks!
    Patrick

    Flex harUI wrote:
    I'm not sure exactly why you can't use Label and RichEditableText.  You
    might want to revisit that decision.
    If the font is embedded in the main app SWF and is picked up by TextFormat,
    then the most common possibility is that somehow other SWFs are being used
    to factory the FTETextField.  Maybe since styles are now per-SWF that's what
    is going on.
    I cannot use Label or RichEditableText because that particular text is being displayed in a completely Sprite-based view. We feel for that portion of the view that it is worth giving up the advantages of UIComponent to get something lighter weight.
    The font for the Sprite-based text is embedded in the class for that text field. The font for the UIComponent-based text is embedded using CSS. Is there a way to use a single compiled SWF for both? Would the SWF just be a single class embedding the fonts? That way we could pull it in at runtime. Would that work for the TextFormat as well?
    Thanks,
    Patrick

  • Font embedding chinese

    Hi all,
    I need to know if font embedding is possible for multilingual data ( ie chinese data). I have SimSun.ttf which I converted to afm and pfb files using ttf2pt1 tool. But there were lots of exception when the conversion was done. When i try to embed the font using the pdf-embed option the pdf is not getting opened atall. Can anyone give any inputs on this.
    can we generate pdf with embed option that has chinese data. What font is proposed for the embeding. I am unable to get correct afm and pfb fonts.

    i have installed the acrobat asian font pack. I have the stsong font. it is a cid font. Can anybody tell how to embed a cid font in a pdf. I couldn't find any online resources that would help me do this.

  • How to disable automatic font embedding in CS5?

    I installed CS5 and opened an old .fla which did not embed the Arial font because everyone has it already. Mostly it is used for user-entered and dynamic content.  However, CS5 is auto-embedding the few characters I use in Arial, and all of the other characters are no longer showing up in the swf file.  The only fix seems to be embedding the entire Arial font in the movie, which is too large since I want to be able to support all kinds of characters.
    Is there a way to turn off auto-font embedding?  This feature seems well-intentioned but critically flawed if it can't be turned off.
    -Ben

    Hi,
    You can set the TextField's Anti-alias setting to "Use device fonts" if you don't want to embed the font.
    HTH,
    Nivesh

  • Use of fonts embedded in photoshop for commerical use? (Static content, like images)

    Hello.
    I am developing a Mobile game for Android, and I can't stop thinking about if i am in the clear when it comes to the use of fonts. I've searched the web, but can't really find a clear answer.
    I am using only font embedded in photoshop/illustrator, and only displaying them in static content, such as Images/logos. So my question is, am I in the clear, or do I need som kind for special license for this?
    FYI I am mostly using the MonoType Impact font. I stumbled over this though, its Monotypes Imaging EULA for fonts ( I think). It says :
    You may embed static graphic images into an electronic document, including a Commercial Product, (for example, a "gif") with a representation of a typeface and typographic design or ornament created with the Font Software as long as such images are not used as a replacement for Font Software, i.e. as long as the representations do not correspond to individual glyphs of the Font Software and may not be individually addressed by the document to render such designs and ornaments.
    Would appreciate any help, thanks!

    you can access them from <bpelx:exec> activity and you can pass these returned document to underlying java class.
    Re: getVariableData in Java Exec

  • ARB Issue: Font Embedding Reprise

    Posted today:
    http://opensource.adobe.com/wiki/display/flexsdk/Font+Embedding+Reprise
    Please comment by Friday (04/10/09) morning. Thanks.

    See my blog post on embedded fonts
    Alex Harui
    Flex SDK Team
    Adobe System, Inc.
    http://blogs.adobe.com/aharui

  • V10.1.5 upgrade - Adobe PDF printer issues - font embedding

    Hi,
    Accepted the 10.1.5 (Acrobat Standard) upgrade.  Have started having "Adobe PDF" printer failures with MS Outlook 2010: Font embedding issues.
    Is there a setting somewhere I need to tweak to tell it to substitute with another font when it runs into licensing issues?
    I've re-installed CutePDF as a workaround, but would prefer to use the Adobe printer.
    save-as-filename.log:
    "%%[ ProductName: Distiller ]%%
    %%[ Error: LucidaSans cannot be embedded because of licensing restrictions. ]%%
    %%[ Font vendor (B&H) does not permit this font to be embedded in PDF. ]%%
    %%[ Error: invalidfont; OffendingCommand: xshow ]%%
    Stack:
    500
    /l
    %%[ Flushing: rest of job (to end-of-file) will be ignored ]%%
    %%[ Warning: PostScript error. No PDF file produced. ] %%"
    Regards,
    JD

    In the settings file you should be able to set to continue even if the embed fails. In that case, I think you will simply have the PDF without the one font being embedded. You can also set to never embed it in the settings file (if you can find it on your system).

  • AS2 font embeding in seperate swf file.....

    Dear all,
    I tried to embed font in as2 its working...this is the sample code
    var test_fmt = new TextFormat();
    test_fmt.font = "Font1";
    createTextField("text1",2,100,150,100,20);
    text1.text = "what the hell";
    text1.setTextFormat(test_fmt)
    text1.embedFonts = true;
    text1._rotation = -45;
    But i want to embed the font in seperate swf, how to call the font embeded swf.....Please if u have any sample share with me...
    Thanks in advance...
    Rajasekaran

    I tried the below code with your two lines inplace but it came up with an error
    trymeon_btn.addEventListener(MouseEvent.CLICK, tryMeButtonFunction);
    function tryMeButtonFunction(event: MouseEvent) {
    import flash.net.URLRequest;
    import flash.display.Loader;
    import flash.events.Event;
    import flash.events.ProgressEvent;
      function startLoad() {
       var trymeon_btn:Loader = new Loader();
       var mRequest:URLRequest = new URLRequest("hand2.swf");
       trymeon_btn.contentLoaderInfo.addEventListener(Event.COMPLETE, onCompleteHandler);
       //trymeon_btn.contentLoaderInfo.addEventListener(ProgressEvent.PROGRESS, onProgressHandler);
       trymeon_btn.load(mRequest);
      function onCompleteHandler(loadEvent:Event) {
       loadEvent.currentTarget.x=(stage.stageWidth-loadEvent.currentTarget.width)/2;
       loadEvent.currentTarget.y=(stage.stageHeight-loadEvent.currentTarget.height)/2
             addChild(loadEvent.currentTarget.content);
      function onProgressHandler(mProgress:ProgressEvent) {
       var percent:Number = mProgress.bytesLoaded/mProgress.bytesTotal;
       trace(percent);
      startLoad();
    ERROR: Error #1056: Cannot create property x on flash.display.LoaderInfo.
    at MethodInfo-2()
    Justin

Maybe you are looking for