Embedding fonts for an entire document?

Hello,  I have a set of flash files that use dynamic text in both AS2 and AS3.  I am looking for a way to embed a font in such a way that including one swf in the library or something similar would make the entire font work whenever else it is used in the document- not just for a single text box.  I have looked into most of the AS2 solutions and not found anything that worked thusfar, but ultimately I would like to find AS2 and AS3 solutions.  I have flash CS5 available but would prefer to use CS4 due to compatibility concerns.  This would need to work online.
Also, I have another related question.  When you have a swf loading others swfs, if the first swf has a font embedded in the universal manner described above (assuming this is actually possible), will this font be available to the loaded swfs without further action?
Thanks!

Sure! You could write a script which is executed from the top level subform's ("form1" by default) Enter event and looks for all fields on the form and sets their
doNotScroll property to true. Note that the script will have to execute on the Enter event (which will be called the moment the user sets focus to any field on the form) because any other event is too "soon" for the
doNotScroll property setting to take effect.
I've attached another sample form which demonstrates how to do this. Check-out the script in the form1 object's Enter event. The
DisableScrolling method is recursive and finds all child fields within all possible container objects (such as subforms, areas, exclusion groups) found in the XFA language. For each field found which supports the
doNotScroll property, it sets that property to true. Note the boolean variable used to guard against running this script every time focus is set to a field within the form. The script only needs to be executed once.
Stefan
Adobe Systems

Similar Messages

  • [svn:fx-trunk] 13366: Ensuring that AFEFontManager, if it is available, overrides the lookup for embedded fonts for all supported font types, including TTF, when embedding legacy DefineFont3 fonts.

    Revision: 13366
    Revision: 13366
    Author:   [email protected]
    Date:     2010-01-07 22:15:50 -0800 (Thu, 07 Jan 2010)
    Log Message:
    Ensuring that AFEFontManager, if it is available, overrides the lookup for embedded fonts for all supported font types, including TTF, when embedding legacy DefineFont3 fonts. BatikFontManager will remain a backup in the event that AFEFontManager is not found though BatikFontManager;s support is limited to TTF for legacy DefineFont3 fonts.
    QE notes: Remember that bitmap comparisons could change slightly
    Doc notes: N/A
    Bugs: N/A
    Reviewer: For Gaurav
    Tests run: checkintests, QE had run local tests
    Is noteworthy for integration: Yes
    Modified Paths:
        flex/sdk/trunk/frameworks/flex-config.xml

    I got again a total system freeze today when I wanted to launch firefox using only the openbox menu, without wbar running.
    So I decided to try now the 'nouveau.noaccel=1' kernel command line parameter, and to use again wbar for my frequently used applis.
    In the Xorg log, the differences are:
    without 'nouveau.noaccel=1'
    [ 30.761] (II) UnloadModule: "nv"
    [ 30.761] (II) Unloading nv
    [ 30.761] (--) Depth 24 pixmap format is 32 bpp
    [ 30.762] (II) NOUVEAU(0): Opened GPU channel 0
    [ 30.765] (II) NOUVEAU(0): [DRI2] Setup complete
    [ 30.765] (II) NOUVEAU(0): [DRI2] DRI driver: nouveau
    [ 30.765] (II) NOUVEAU(0): [DRI2] VDPAU driver: nouveau
    [ 30.776] (II) EXA(0): Driver allocated offscreen pixmaps
    [ 30.777] (II) EXA(0): Driver registered support for the following operations:
    [ 30.777] (II) Solid
    [ 30.777] (II) Copy
    [ 30.777] (II) Composite (RENDER acceleration)
    [ 30.777] (II) UploadToScreen
    [ 30.777] (II) DownloadFromScreen
    [ 30.777] (==) NOUVEAU(0): Backing store disabled
    [ 30.777] (==) NOUVEAU(0): Silken mouse enabled
    with 'nouveau.noaccel=1'
    [ 1191.621] (II) UnloadModule: "nv"
    [ 1191.621] (II) Unloading nv
    [ 1191.621] (--) Depth 24 pixmap format is 32 bpp
    [ 1191.621] (EE) NOUVEAU(0): Error creating GPU channel: -19
    [ 1191.621] (EE) NOUVEAU(0): Error initialising acceleration. Falling back to NoAccel
    [ 1191.621] (==) NOUVEAU(0): Backing store disabled
    [ 1191.621] (==) NOUVEAU(0): Silken mouse enabled
    [ 1191.621] (==) NOUVEAU(0): DPMS enabled
    So now 3D acceleration is disabled.
    I will see now if the system is stable enough for my daily usage and gives satisfactory performances.
    I am almost sure that the mesa nouveau dri driver is the cause of the freezes.
    Last edited by berbae (2013-03-27 10:07:42)

  • Disable scrolling for an entire document

    Can anyone help me with a code sample that will disable scrolling for an entire document?

    Sure! You could write a script which is executed from the top level subform's ("form1" by default) Enter event and looks for all fields on the form and sets their
    doNotScroll property to true. Note that the script will have to execute on the Enter event (which will be called the moment the user sets focus to any field on the form) because any other event is too "soon" for the
    doNotScroll property setting to take effect.
    I've attached another sample form which demonstrates how to do this. Check-out the script in the form1 object's Enter event. The
    DisableScrolling method is recursive and finds all child fields within all possible container objects (such as subforms, areas, exclusion groups) found in the XFA language. For each field found which supports the
    doNotScroll property, it sets that property to true. Note the boolean variable used to guard against running this script every time focus is set to a field within the form. The script only needs to be executed once.
    Stefan
    Adobe Systems

  • Fix non-embedded fonts for USPTO filing

    Hi,
    The United States Patent and Trademark Office does not allow submission of PDF files with non-embedded fonts.
    I know how to create documents from Word, etc. that comply with this requirement, but I frequently get PDFs from other sources that do not have  all their fonts embedded, especially the asian fonts.
    I know that one possible fix is to print the existing PDF as a PDF image.  However, when I do this my file size becomes MUCH larger than the original.  Re-printing to PDF seems like a very kludgy fix.  Another very iffy fix I've used for large PDFs is to print the PDF document on paper and just scan it with our office scanner, which will keep the file size small but is a waste of time and paper.
    Is there no better way to deal with the issue of non-embedded fonts?

    Need Acrobat 9 Pro or Pro Extended -
    Advanced > Preflight
    In the Preflight dialog, open the "Options" drop-down menu and select "Create New Preflight Profile".
    Give the new profile a name & save it.
    In the dialog, at the left you'll see your new profile.
    Locate and click on "Fixups" (2nd from bottom).
    Over to the right, over the listing of fixups that appears, there is a find/search field.
    Enter "embed" (the first three letters will do).
    Two fixups are available.
    --| Embed Fonts
    --| Embed Fonts (even if text is invisible)
    Select one. Under the fixup list there is an arrow pointed to the left. Click it. The center pane will display the selected fixup.
    Click Save then OK.
    The profile is available for use.
    A Batch Sequence could be made that uses this Preflight profile to permit processing many PDFs at "one go".
    [If you do not want to DIY, then use the "out of the box" profile located in the PDF fixups Group.
    Both "Embed" profiles are there.]
    Be well...
    Message was edited by: CtDave

  • Print PDF without embedded fonts (for USPTO)

    I need to print PDFs that can be uploaded to the US PTO, and for them to be compatible they must not have any embedded fonts. I am using the Acrobat XI Distiller with the configuration file downloaded directly from the PTO website http://www.uspto.gov/ebc/portal/efs/uspto.joboptions, but the fonts are still being embedded. Is there any way to get the PDF distiller to not embed any fonts?

    The .joboptions file that your posting points to very specifically requests that all fonts be embedded, subsetted!!! 
    Thus, if you are using these joboptions to produce PDF, you are getting exactly what the joboptions call for.
    If someplace on the US Patent and Trademark Office website is telling you to not embed fonts and then provides these joboptions, then they are giving you conflicting information! 
    However, searching that website, I found instructions for PDF file creation such as at <EFS-Web PDF Guidelines> and the attached PDF file from the website.
    In fact, the US Patent and Trademark Office absolutely requires that you embed all fonts.
              - Dov

  • Embedded Fonts for Accordion Headers

    Does anyone know how to get embedded fonts to show up in the
    accordion header? i checked out the Adobe LiveDoc on customizing
    the accordion component and it says to use the setStyle method. The
    font I've embedded is Futura. Here's what I've tried using
    myAccordion_ac.setStyle("fontFamily", "Futura");
    myAccordion_ac.setStyle("embedFonts", "true");
    However, simply embedding a font and setting that boolean to
    "true" doesn't work. Does anyone know how this is supposed to work?
    Thanks for any help.

    Need Acrobat 9 Pro or Pro Extended -
    Advanced > Preflight
    In the Preflight dialog, open the "Options" drop-down menu and select "Create New Preflight Profile".
    Give the new profile a name & save it.
    In the dialog, at the left you'll see your new profile.
    Locate and click on "Fixups" (2nd from bottom).
    Over to the right, over the listing of fixups that appears, there is a find/search field.
    Enter "embed" (the first three letters will do).
    Two fixups are available.
    --| Embed Fonts
    --| Embed Fonts (even if text is invisible)
    Select one. Under the fixup list there is an arrow pointed to the left. Click it. The center pane will display the selected fixup.
    Click Save then OK.
    The profile is available for use.
    A Batch Sequence could be made that uses this Preflight profile to permit processing many PDFs at "one go".
    [If you do not want to DIY, then use the "out of the box" profile located in the PDF fixups Group.
    Both "Embed" profiles are there.]
    Be well...
    Message was edited by: CtDave

  • Embedding fonts for headers/footers added in Acrobat?

    Is there any way to embed fonts when adding headers/footers using Acrobat's "Add Header and Footer" command, other than running the files through a PitStop profile to correct the problem?
    Background:
    Recently, for the first time, we added footers to PDFs using Acrobat's "Add Header & Footer" command. We used our corporate identity font and placed information outside the trim, in the crop marks area. (We usually put this information in the slug in InDesign, but the printer's required settings did not allow slugs to be turned on.)
    The files were all kicked out by the printer's preflight because the font was not embedded. We've since discovered that our own preflight profile was set to ignore fonts outside of trim when checking for embedding, which is why it got past us.
    We've discovered a number of workarounds. Luckily, we have PitStop, so we created a profile to fix the problem. Our question remains: if Acrobat allows the addition of text to a PDF via headers and footers, why does it not embed the fonts automatically when doing so, when embedding is so crucial to successful output? It's odd that Acrobat has a very useful command that nevertheless breaks the file for output. Were I paranoid, I'd wonder if it was a carefully orchestrated campaign to make the purchase of PitStop not only wise, but required.
    Thanks for any thoughts.

    It works providing you have that font name installed on your system.
    Available under the 'Document' section of the fixups ...
    Not major for pre-pressers since they use Pitstop but great for your
    clients since now THEY can fix THEIR problems (even THEIR advertisers
    problems which land on your desk at 5pm) ;-)
    Jon

  • Embedding Font for ability to edit on other platforms

    I create marketing materials in Illustrator and save as pdfs for our clients' use. I put generic text in for Company Name and XXX-XXX-XXXX so they can put in their own phone number. Even though the fonts appear as embedded in the properties, many users get the "no system font available-substitution will occur" message when trying to edit in Acrobat. It even happens when I open the document in Acrobat on my own machine.
    Is there anyway to avoid this so our clients don't get confused?
    I'm on a Mac, but most of them are on PCs. I always try to use Arial, Times and Courier since they should have those font installed.
    Can I count on Acrobat substituting their Arial for my Arial, etc.?

    Instead of having them change existing text, how about leaving that area blank then adding a form field for them to fill in. The type of editing you want to do is inherently flawed.

  • Embedded fonts not working in Air for ios

    hi
    am building an ActionScript mobile project 4.6 for ios and want to use embedded fonts for my app.
    we are using the swf method for embedding the fonts , after loading the xml and even got the embedded resourses from swf , the output is not showing the exact font used , instread it is displaying one of default ios fonts in place of it...
    here is the code of my embedded fonts and we are using TLF for text output:
    ....inside my loaded swf: -
    package
        import flash.display.Sprite;
    import flashx.textLayout.compose.ISWFContext;
    public class Slide1 extends Sprite implements ISWFContext
            [Embed(source="C:/WINDOWS/FONTS/ariblk.TTF", fontName="Arial Black", embedAsCFF = "true", unicodeRange="U+0041,U+0072,U+0069,U+0061,U+006C,U+0020,U+0062,U+006F,U+0064", mimeType="application/x-font")]
            public function callInContext(fn:Function, thisArg:Object, argsArray:Array, returns:Boolean=true):*
                  if (returns)
                          return fn.apply(thisArg, argsArray);
                  fn.apply(thisArg, argsArray);
    please help asap!
    thanks

    hi
    am building an ActionScript mobile project 4.6 for ios and want to use embedded fonts for my app.
    we are using the swf method for embedding the fonts , after loading the xml and even got the embedded resourses from swf , the output is not showing the exact font used , instread it is displaying one of default ios fonts in place of it...
    here is the code of my embedded fonts and we are using TLF for text output:
    ....inside my loaded swf: -
    package
        import flash.display.Sprite;
    import flashx.textLayout.compose.ISWFContext;
    public class Slide1 extends Sprite implements ISWFContext
            [Embed(source="C:/WINDOWS/FONTS/ariblk.TTF", fontName="Arial Black", embedAsCFF = "true", unicodeRange="U+0041,U+0072,U+0069,U+0061,U+006C,U+0020,U+0062,U+006F,U+0064", mimeType="application/x-font")]
            public function callInContext(fn:Function, thisArg:Object, argsArray:Array, returns:Boolean=true):*
                  if (returns)
                          return fn.apply(thisArg, argsArray);
                  fn.apply(thisArg, argsArray);
    please help asap!
    thanks

  • JPopupMenu - setting font for entire menu

    I have JPopupMenu which contains menuitems, i would like to set the font for this entire menu...do i have to do .setFont() for each menuitem or can i just do myPopupMenu.setFont()?
    Thanks

    I have JPopupMenu which contains menuitems, i would like to set the font for this entire menu...do i have to do .setFont() for each menuitem or can i just do myPopupMenu.setFont()?
    Thanks

  • Changed fonts for entire system when trying to change mplayer fonts

    I was trying to make the subtitles in mplayer smaller and saw that one possible solution was to copy a new font into the mplayer/fonts folder and replace the shortcut.
    I did the following:
    #sudo cp /usr/share/fonts/TTF/times.ttf /usr/share/mplayer/subfont.ttf
    To my horror this seems to have changed the default font for the entire system. I'm able to change fonts through "obconf", but apps like conky and pypanel don't response to these changes. How can I change things back? Or at least be able to customize the font in pypanel an conky so I can get a system wide font??
    EDIT: Well, I fixed it. I just did the same, but with a font I like. Kinda weird way to change fonts, but it works.
    Last edited by Perre (2008-04-13 17:15:59)

    Still exactly the same problem after installing Arch X86

  • Fully embedding fonts in PDF

    Hi,
    I had a piece of information but I can't seem to find it anymore so I have to ask ...
    This is about understanding limitations of fully embedding fonts in a PDF (from Indesign Server). Actually it's about one limitation in particular. I know fonts with licensing issues or fonts that are marked "embedded not allowed" will not be embedded. Also, there is a threshold that I need to set.
    So, I recall reading somewhere that Indesign will not fully embed "standard" fonts. Is that correct and what is this standard fonts category?
    Oh, reading through some posts, I noticed lots of people and experts ask why does one need fully embedded fonts. That's a good question and I don't know the root reason but in my case it seems that some regulatory agencies (in the life sciences/pharma domain) require PDFs with fully embedded fonts.
    Many thanks
    Cristian

    On behalf of Adobe:
    (1)     For both InDesign “PDF export” (including InDesign Server) and Illustrator “save as PDF” functions, most but not all of the .joboptions file font embedding options are totally and utterly ignored. The options that are ignored are the Embed all fonts, Embed OpenType fonts, Always embed, and Never embed. Those options are observed by Distiller and the PDFMaker components of Acrobat.
    (2)     These applications will attempt to embed all fonts referenced by the document, regardless of the settings of the .joboptions file. The only reason why a font would not be embedded in a PDF file would be if (a) the font was unavailable (i.e., not installed on the system) or (b) the font's embedding permissions do not permit embedding for at least preview and print privileges. Thus, if you use the so-called Standard .joboptions (strongly not recommended for any graphic arts purposes), even the base 14 fonts (four faces each of Helvetica, Times, and Courier along with Symbol and ITC Zapf Dingbats will be embedded if your document references them.
    (3)     The subset threshold value of 0 (zero) may effectively cause all the glyphs of a font to be embedded in some, but not all cases. This will work for many if not most Type 1 fonts and some smaller TrueType and OpenType CFF fonts. Note that embedding all glyphs in a font is not the same as embedding a full font. For OpenType and TrueType fonts, InDesign and Illustrator never embed all the tables of the font. Such unembedded tables include those used for pair kerning, advanced OpenType features (such as ligatures, alternate representations, contextual alternates, small caps, old style figures, etc.), and extended metrics.
    (4)     There are plenty of bubbameissas out there with regards to the benefits or liabilities of either fully embedding or subset embedding fonts. What is true is that: (a) Acrobat never uses the embedded font for text editing - you must have the font installed on the system in order to do such edits. (b) Subset embedding or not is totally irrelevant to what a RIP does when rendering text, either for PostScript or direct PDF RIPs. Neither subset or full embedding is any more reliable than the other and the specifications of PostScript and PDF do not permit the RIP to replace the embedded font with a font with a similar name - urban legend notwithstanding!!!! (c) Third party plug-ins to Acrobat or applications that claim to allow you to edit PDF files with embedded fonts may be illegally letting you do so if the embedding permissions do not permit embedding for editable embedding or installable embedding - most fonts do not provide such embedding permissions and since the fonts are missing metric information, such editing may be somewhat lacking in quality or features.
    (5)     In fact some very non-tech-savvy organizations have posted requirements for full embedding of fonts in submitted PDF files (I have personally seen one such requirement by some international bureaucracy). They can post such bone-headed requirements based on limited understanding of PDF and PDF workflows, but that doesn't mean that anybody actually provides such PDF files. If in fact you run into such requirements, I would appreciate it if references to same can be forwarded to my attention by private message on these forums.
              - Dov

  • Global Default Font for Application

    Hi,
    I'm using flash builder 4.5 and I would like to set a custom font as the default font for the entire application.
    I've tried setting fontFamily="myCustomEmbeddedFont" in the main application with no success.
    Is there a spot that I can declare a custom embedded font and then set it to be the global default font for the entire application?
    Thanks

    Hi Flex harUI,
    That doesnt work... I also tried fontFamily: myCentGoth;
    global
        selection-color: #950000;
        font-family: myCentGoth; 
    @font-face {
        src: url("assets/GOTHIC.TTF");
        fontFamily: myCentGoth;
        embedAsCFF: true;
        fontWeight: normal;
    @font-face {
        src: url("assets/GOTHICB.TTF");
        fontWeight: bold;
        fontFamily: myCentGoth;
        embedAsCFF: true;
    @font-face {
        src: url("assets/GOTHICBI.TTF");
        fontWeight: bold;
        fontStyle: italic;
        fontFamily: myCentGoth;
        embedAsCFF: true;
    @font-face {
        src: url("assets/GOTHICI.TTF");
        fontStyle: italic;
        fontFamily: myCentGoth;
        embedAsCFF: true;
        fontWeight: normal;

  • Embedded font on Spark Button

    I am using an embedded font for all spark labels. It works fine.
    However, the font is not applied to the button label. If I switch the font to Comic Sans MS then the font is used on the button.
    I can't figure out why this particular embedded font works in all labels, except the button label.
    Any help would be greatly appreciated.
    gkx

    I'm seconding Robs reply here... I had a very similar issue and ended up having to set the fontWeight and fontStyle to match the embedded font. In my case it was normal and normal using a Futura family font.
    So, my overall embed was:
    @font-face {
                                  src: url("assets/fonts/Futura_Book_BT.ttf");
                                  fontFamily: "FuturaCFF";
                                  embedAsCFF: true;
                        @font-face {
                                  src: url("assets/fonts/Futura_Book_BT.ttf");
                                  fontFamily: "Futura";
                                  embedAsCFF: false;
    Then my buttons looked like
    <s:Button fontFamily="Futura"  fontWeight="normal" label="Select"  click="hubSelectionHandler(event)" />

  • Kindle and embedded fonts

    I have studied things in this forum and elsewhere about the net regarding embedding fonts for Kindle mobi files with InDesign CS6, but nothing seems to work.
      Our Institute is prepared to pay for concrete help in this regard. If anyone is interested, I would send you the fonts and a few pages for trial. Kindly write to me at [email protected] and let me know what you would charge for a successful resolution to the problem.

    Font embedding is a very confusing issue because it depends on the capabilities of the EPUB reader. I really haven't had the time to learn all the fine points.
    I know that it now works correctly in InDesign CC if you're targeting iBooks, but I'm not sure it's guaranteed to work on other readers. With InDesign CS6, I believe you're using the correct workaround.

Maybe you are looking for

  • How can I free up space on my iphone without connecting to itunes?

    How can I free up space on my iphone (by posibbly deleting some music) without connecting to my mac itunes? I'm travelling abroad for some time so can't access my itunes account on my mac at home and the iphone is full. I thought I'd left enought roo

  • How can I use variable name as a prameter value in HOST Command ???

    Hi All, How can it possible to use variable value in parameter in HOST command ?? Following in my code: host('rwclient server=reptest report=c:\cust_print.rdf p_1= s_sam_cust_id userid=wh1/wh1@dwh desformat=pdf desty=file desname=c:/temp/'||v_sam_cus

  • How to change an iPhone

    Hi I am from Argentina, I have an iphone 5s and wanted to change it to a iPhone6. I am traveling to miami, make this change?

  • New feature Pan Only Error

    Hi, people When I try use the new feature in Pan Only I recieve this mesage. In image attached Any one has a tip? Thanks

  • DELETING AN UNTITLED HD

    I HAVE AN UNTITLED HD ON MY DESKTOP AND ALSO MY ORIGINAL HD TOO. THE UNTITLED ONE SEEMS TO BE A MIRROR IMAGE. HOW DO I GET RID OF THAT?