Link and embedded fonts

Hi,
I'm using this to set the general format of my text flow:
<TextFlow xmlns='http://ns.adobe.com/textLayout/2008' fontSize='16' textIndent='0' paragraphSpaceAfter='0' paddingTop='5' paddingLeft='0' paddingRight='0' lineHeight='100%' fontFamily='RockwellCFF'>
<TextLayoutFormat color='#ff0000' id='hoverOverBrand' />
<TextLayoutFormat color='#00ff00' id='mouseDownOverBrand' textDecoration='underline' />
<TextLayoutFormat color='#0000ff' id='defaultLinkBrand'/>
<TextLayoutFormat color='#0000ff' id='hoverOverEmail'/>
<TextLayoutFormat color='#0000ff' id='mouseDownOverEmail' lineThrough='true' />
I'm also loading some embedded fonts, that's working ok.
When I apply a link to the current selection, I use this code:
IEditManager( textFlow.interactionManager ).applyLink( url, linkTarget, false);
The problem I have is that when the link is applied, the selection looses it's font family value and there is no way to re-format it again.
is it possible to declare a CFF setting in the "defaultLinkBrand" so all links keep the original font family?
any ideas will be appreciated.

Seems to work for me.  Attached is a complete example that I can build and run.  The dump methods show what fonts are actually used.  I don't have RockwellCFF so I used a different font.  If you could modify this example until its broken and pass it back we'd be in a much better position to figure out where the issue is.
http://drop.io/oscar7878/asset/oscar7878-as
(not sure how to attach a file here - let me know if this doesn't work)
This is the output I get (I removed the clusters dump as that's not interesting).  It shows that the embedded font was used - it appears to be visually the case as well.
<?xml version='1.0' encoding='UTF-8'?>
<line ascent='11.09375000000' descent='3.45312500000' rotation='0'>
  <elements>
    <glyph isEmbedded='n' fontName='Times New Roman' isBold='n' isItalic='n' gid='43' pointSize='16.00000000000' x='0.00000000000' y='0.00000000000' rotation='0' color='#FF000000'/>
    <glyph isEmbedded='n' fontName='Times New Roman' isBold='n' isItalic='n' gid='72' pointSize='16.00000000000' x='11.00000000000' y='0.00000000000' rotation='0' color='#FF000000'/>
    <glyph isEmbedded='n' fontName='Times New Roman' isBold='n' isItalic='n' gid='79' pointSize='16.00000000000' x='18.00000000000' y='0.00000000000' rotation='0' color='#FF000000'/>
    <glyph isEmbedded='n' fontName='Times New Roman' isBold='n' isItalic='n' gid='79' pointSize='16.00000000000' x='21.00000000000' y='0.00000000000' rotation='0' color='#FF000000'/>
    <glyph isEmbedded='n' fontName='Times New Roman' isBold='n' isItalic='n' gid='82' pointSize='16.00000000000' x='24.00000000000' y='0.00000000000' rotation='0' color='#FF000000'/>
    <glyph isEmbedded='y' fontName='myMinionPro' isBold='n' isItalic='n' gid='45' pointSize='16.00000000000' x='32.00000000000' y='0.00000000000' rotation='0' color='#FF0000CC'/>
    <glyph isEmbedded='y' fontName='myMinionPro' isBold='n' isItalic='n' gid='74' pointSize='16.00000000000' x='40.70410156250' y='0.00000000000' rotation='0' color='#FF0000CC'/>
    <glyph isEmbedded='y' fontName='myMinionPro' isBold='n' isItalic='n' gid='79' pointSize='16.00000000000' x='44.99218750000' y='0.00000000000' rotation='0' color='#FF0000CC'/>
    <glyph isEmbedded='y' fontName='myMinionPro' isBold='n' isItalic='n' gid='76' pointSize='16.00000000000' x='53.82421875000' y='0.00000000000' rotation='0' color='#FF0000CC'/>
    <glyph isEmbedded='n' fontName='Times New Roman' isBold='n' isItalic='n' gid='58' pointSize='16.00000000000' x='61.76025390625' y='0.00000000000' rotation='0' color='#FF000000'/>
    <glyph isEmbedded='n' fontName='Times New Roman' isBold='n' isItalic='n' gid='82' pointSize='16.00000000000' x='75.47900390625' y='0.00000000000' rotation='0' color='#FF000000'/>
    <glyph isEmbedded='n' fontName='Times New Roman' isBold='n' isItalic='n' gid='85' pointSize='16.00000000000' x='83.47900390625' y='0.00000000000' rotation='0' color='#FF000000'/>
    <glyph isEmbedded='n' fontName='Times New Roman' isBold='n' isItalic='n' gid='79' pointSize='16.00000000000' x='88.47900390625' y='0.00000000000' rotation='0' color='#FF000000'/>
    <glyph isEmbedded='n' fontName='Times New Roman' isBold='n' isItalic='n' gid='71' pointSize='16.00000000000' x='91.47900390625' y='0.00000000000' rotation='0' color='#FF000000'/>
    <glyph isEmbedded='n' fontName='Times New Roman' isBold='n' isItalic='n' gid='3' pointSize='16.00000000000' x='99.47900390625' y='0.00000000000' rotation='0' color='#FF000000'/>
  </elements>
</line>
<?xml version='1.0' encoding='UTF-8'?>
<line ascent='11.09375000000' descent='3.45312500000' rotation='0'>
  <elements>
    <glyph isEmbedded='n' fontName='Times New Roman' isBold='n' isItalic='n' gid='43' pointSize='16.00000000000' x='0.00000000000' y='0.00000000000' rotation='0' color='#FF000000'/>
    <glyph isEmbedded='n' fontName='Times New Roman' isBold='n' isItalic='n' gid='72' pointSize='16.00000000000' x='11.00000000000' y='0.00000000000' rotation='0' color='#FF000000'/>
    <glyph isEmbedded='n' fontName='Times New Roman' isBold='n' isItalic='n' gid='79' pointSize='16.00000000000' x='18.00000000000' y='0.00000000000' rotation='0' color='#FF000000'/>
    <glyph isEmbedded='n' fontName='Times New Roman' isBold='n' isItalic='n' gid='79' pointSize='16.00000000000' x='21.00000000000' y='0.00000000000' rotation='0' color='#FF000000'/>
    <glyph isEmbedded='n' fontName='Times New Roman' isBold='n' isItalic='n' gid='82' pointSize='16.00000000000' x='24.00000000000' y='0.00000000000' rotation='0' color='#FF000000'/>
    <glyph isEmbedded='y' fontName='myMinionPro' isBold='n' isItalic='n' gid='45' pointSize='16.00000000000' x='32.00000000000' y='0.00000000000' rotation='0' color='#FF0000CC'/>
    <glyph isEmbedded='y' fontName='myMinionPro' isBold='n' isItalic='n' gid='74' pointSize='16.00000000000' x='40.70410156250' y='0.00000000000' rotation='0' color='#FF0000CC'/>
    <glyph isEmbedded='y' fontName='myMinionPro' isBold='n' isItalic='n' gid='79' pointSize='16.00000000000' x='44.99218750000' y='0.00000000000' rotation='0' color='#FF0000CC'/>
    <glyph isEmbedded='y' fontName='myMinionPro' isBold='n' isItalic='n' gid='76' pointSize='16.00000000000' x='53.82421875000' y='0.00000000000' rotation='0' color='#FF0000CC'/>
    <glyph isEmbedded='n' fontName='Times New Roman' isBold='n' isItalic='n' gid='58' pointSize='16.00000000000' x='61.76025390625' y='0.00000000000' rotation='0' color='#FF000000'/>
    <glyph isEmbedded='n' fontName='Times New Roman' isBold='n' isItalic='n' gid='82' pointSize='16.00000000000' x='75.47900390625' y='0.00000000000' rotation='0' color='#FF000000'/>
    <glyph isEmbedded='n' fontName='Times New Roman' isBold='n' isItalic='n' gid='85' pointSize='16.00000000000' x='83.47900390625' y='0.00000000000' rotation='0' color='#FF000000'/>
    <glyph isEmbedded='n' fontName='Times New Roman' isBold='n' isItalic='n' gid='79' pointSize='16.00000000000' x='88.47900390625' y='0.00000000000' rotation='0' color='#FF000000'/>
    <glyph isEmbedded='n' fontName='Times New Roman' isBold='n' isItalic='n' gid='71' pointSize='16.00000000000' x='91.47900390625' y='0.00000000000' rotation='0' color='#FF000000'/>
    <glyph isEmbedded='n' fontName='Times New Roman' isBold='n' isItalic='n' gid='3' pointSize='16.00000000000' x='99.47900390625' y='0.00000000000' rotation='0' color='#FF000000'/>
  </elements>
</line>
Richard

Similar Messages

  • AFEFontManager,TextLayoutFramework and embedded fonts

    Should we not use AFEFontManager in conjunction with TextLayoutFramework and embedded fonts. I have a project that was using the compiler argument -managers=flash.fonts.AFEFontManager. I would embed fonts from a loaded swf, but the fonts would be of type "embedded" instead of "embeddedCFF". Since the type wasn't embeddedCFF, the font wouldn't display correctly.
    I removed the -managers=flash.fonts.AFEFontManager argument and it works perfectly.
    So, is there a different way to reference the AFEFontManager? Or perhaps it's not necessary to do so at all?
    thanks.

    I think this question needs to go to the flex forum, since it is more about AFEFontManager. "embedded" fonts work with TextField, "embeddedCFF" fonts work with TLF and flash.text.engine. It's possible there is a way for you do this with embeddedCFF, that is a question for the Flex group, they are the best source fr information about the compiler.
    Thanks,
    - robin

  • Excel 2013 "cannot use object linking and embedding error"

    Hi
    We are using excel export as pdf functionality and have the following DCOM configuration
    1.start->run and type 'DCOMCNFG'
    2: Open 'DCOM Config' and locate 'Microsoft Excel Application'
    3: Set its identity to 'This User' and give specific service user
    On opening excel  we are getting  "cannot use object linking and embedding error" and the microsoft sugestions tells to change to launching user which is not an option for us,Is there any other suggestion to fix this issue by keeping Dcom
    configuration with'This User'
    Thanks in advance
    Pradeep

    Hi
    when excel is opened, a warning pops up saying "Cannot use object linking and embedding" . This
    fix change the DCOM ID to Launching User) does not work for us. We need the Excel DCOM ID to use a particular user "domain\user" in order to access excel from our website.
    Is there any other suggestions
    Thanks in advance
    Pradeep

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

  • Gumbo text elements and embedded fonts

    Hi again,
    ok I found the solution. The first time, I searched in the "CSS Advanced Selectors" spec document for the solution and I found nothing about it. Then I had the "great" idea to look in the only right place which is of course "Text Primitives (TextBox, TextGraphic, and TextView)". There I found the hint about "DefineFont4" which, with some search, led me to the solution:
    1. Add the new property "cff: true" in the "@font-face" css block
    2. Set the property fontLookup="embeddedCFF" for the text element
    et voilà!
    I hope this will save somebody else some time!
    Haykel Ben Jemia
    Allmas
    Web & RIA Development
    http://www.allmas-tn.com

    OK,
    I have given up messing with stylesheets, trying display:
    block, inline, different ways of formatting the XML, messing with
    XML.ignoreWhiteSpace, and XML.prettyPrinting etc.
    I went down the route of encodeURI, using a RegExp to strip
    out all tabs, linefeeds and carriage returns. This now gives
    consistent results for all situations, even embedded and none
    embedded fonts.
    e.g.
    _text:String = TEXT FROM XML, HTML TEXT etc
    var st:String = encodeURI(_text);
    var pattern:RegExp = /(%09)+|(%0A)+|(%0D)+/g;
    st = st.replace(pattern, "");
    st = decodeURI(st);
    YOUTEXTFIELD.htmlText = st;
    The <p> tags still behave as a <br/> tag, but you
    can add an extra <br/> to simulate a paragraph.
    Here is the example again with the updates,
    Hope this helps someone

  • Resource Bundles and Embedded fonts - best practice

    Hello,
    I am in digging into creating a localized app and I would
    like to use embedded fonts.
    Ideally, I would like to have two locales (for example), each
    with a different embedded font and/or unicode range.
    For example, how do I set up my localized app so that EN uses
    Arial (Latin Range), and JP uses Arial Unicode MS with Japanese
    Kanji unicode range ?
    Note that I do know how to embed fonts with different ranges,
    I just don't know how to properly embed them into resource bundles
    and access them easily in style sheets.
    Thanks!
    -Daniel

    Hello!
    This is a very pertinent question, however as many things in life there is no one size fits all here.
    We basically recommend, as best practice, to allocate for each specific context only the estimated needed resources. These values should always come from a previous study on the network patterns/load.
    To accomodate for growth and scalability it is strongly advised to initially keep as many resources reserved as possible and allocate the unused resources as needed. To accomplish this goal, you should created a reserved resource class, as you did already, with a guarantee of 20 to 40 percent of all ACE resources and configure a virtual context solely with the purpose of ensuring that these resources are reserved.
    As you might already know ACE protects resources in use, this means that when decreasing a context's resources, the resources must be unused before then can be reused by other context. Although it is possible to decrease the resource allocations in real time, it typically requires additional overhead to clear any used resources before reducing them.
    Based on the traffic patterns, number of connections, throughput, concurrent SSL connections , etc, for each of the sites you will be deploying you will have a better idea on what might be the estimated needed resources and then assign them to each of the contexts. Thus this is something that greatly depends on customer's network environment.
    Hope this helps to clarify your doubts.

  • Dynamic text and embedded font

    Hi,
    I'm new to Flash and AS3, and I'm having a problem when I do
    the following: I create an empty dynamic text field in the
    authoring environment, click "Embed...", and choose the character
    sets that I want (I get the same results when I embed the entire
    font). The first time I change the contents of the text field with
    the command:
    text_field.text = "string 1";
    I get good results--the text appears in the correct font.
    However, subsequent attempts to update the .text property fail with
    no error message, and the field becomes blank.
    If I remove the embedded font by clicking "Don't embed" in
    the embedding dialog, then every time I update the field's .text
    property, it displays correctly using a local machine font.
    I've also tried embedding the font in the swf by creating a
    dynamic text field in the authoring environment, into which I place
    no text, creating a second, functional text field in actionscript,
    formatting it, using the "embed = true" property, and repeatedly
    updating the .text property with the same bad results as described
    above.
    I haven't tried using the [embed] metatag to dynamically load
    the font.
    I've tested the swf in IE7 and Firefox on two machines with
    the same results. What am I doing wrong?
    Thanks,
    Dave

    Okay, here's more information. The font that I've been trying
    to embed is Bitstream Vera Sans Mono. If I embed a different font,
    like Bitstream Vera Sans, I have no problem. It seems to me that it
    must be that my Bitstream Vera Sans Mono is corrupted, my .fla and
    .swf files are corrupted, or there's a bug in flash...

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

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

  • Has the issue with font licences and embedding fonts in a dynamic PDF been solved?

    Hi all,
    Can I check if this issue has been fixed in LiveCycle yet please?
    http://forums.adobe.com/message/3724557
    Issue is that although LC lets you specify what typeface should be used for the caption/value in a form, it cannot discern the corresponding licencing requirements.
    So in the case where even though a particular font isn’t used for any editable information – being set as the caption only – LC requires a font permitting embedding for editing, otherwise the font is not embedded at all and therefore is substituted for another typeface on a system where the font isn’t available.
    Seems LC needs it's embedding requirements to catch up with the usage of type in a dynamic PDF, as in cases where the fonts bundled with Reader or system fonts aren't suitable, such as when a visual standard needs to be met, the user may not be overly keen on paying a significant financial penalty for editable font licences.
    Thanks
    James

    Hi James,
    I don't think that it the case at all. If the font has a license for enbedding then that is what happens:
    I accept that some fonts come with expensive "embedding for editing" licenses, but Adobe's implementation is in line with the font industry's expectations.
    I don't think this is a "bug" that will be fixed.
    Niall

  • Flex and embedded fonts

    Hi everyone, I have an application that embeds some fonts with an XML configuration file:
    <?xml version="1.0" encoding="utf-8"?>
    <flex-config>
         <compiler>
             <fonts>
                 <local-font-paths>
                     <path-element>C:/windows/Fonts/Arial</path-element>
                 </local-font-paths>
             </fonts>
         </compiler>
    </flex-config>
    I use these fonts with a css like this:
    @font-face
         fontFamily: arialEmbeddedFont;         
         src: local("Arial");
         embed-as-cff:true;
    .teamName
         color:#FFFFFF;
         font-size:10px;
         horizontal-align:center;
         text-align:center;
         font-family:arialEmbeddedFont;
    My application shows a popup window  when there's a specific event (like a new friends connected in nomal  chat softwares). When I try to raise an event with this popup window, I  get this error:
    TypeError: Error #1034: Type Coercion failed: cannot convert  mx.managers::WindowedSystemManager@8e04971 to  flashx.textLayout.compose.ISWFContext.
    I searched on  the net but I found only another programmer with the same problem and,  unfortunately, no solutions... can somebody help me?
    Thanks!
    Davide

    TypeError: Error #1034: Type Coercion failed: cannot convert mx.managers::WindowedSystemManager@84ecdd1 to flashx.textLayout.compose.ISWFContext.
        at spark.components::Label/createTextLinesFromTextBlock()[E:\dev\4.x\frameworks\projects\spa rk\src\spark\components\Label.as:884]
        at spark.components::Label/createTextLines()[E:\dev\4.x\frameworks\projects\spark\src\spark\ components\Label.as:808]
        at spark.components::Label/http://www.adobe.com/2006/flex/mx/internal::composeTextLines()[E:\dev\4.x\frameworks\proje cts\spark\src\spark\components\Label.as:474]
        at spark.components.supportClasses::TextBase/measure()[E:\dev\4.x\frameworks\projects\spark\ src\spark\components\supportClasses\TextBase.as:533]
        at mx.core::UIComponent/measureSizes()[E:\dev\4.x\frameworks\projects\framework\src\mx\core\ UIComponent.as:8216]
        at mx.core::UIComponent/validateSize()[E:\dev\4.x\frameworks\projects\framework\src\mx\core\ UIComponent.as:8140]
        at mx.managers::LayoutManager/validateSize()[E:\dev\4.x\frameworks\projects\framework\src\mx \managers\LayoutManager.as:617]
        at mx.managers::LayoutManager/doPhasedInstantiation()[E:\dev\4.x\frameworks\projects\framewo rk\src\mx\managers\LayoutManager.as:733]
        at mx.managers::LayoutManager/doPhasedInstantiationCallback()[E:\dev\4.x\frameworks\projects \framework\src\mx\managers\LayoutManager.as:1072]

  • Trouble in loading external swf file and embedded font dynamically

    I have developed a flex application doing something like this: it loads A.swf from somewhere and show it on the stage
    sometimes A uses fonts not installed on users' machine, so at this time my app will load B.swf with needed fonts embedded in it from another place
    I have working it out that fonts in B.swf can be detected and shown in my app stage, but when I use SWFLoader to show A.swf, it still fails in showing the fonts properly...
    Some of my codes pasted here:
    // load fonts
    private function onFontBytesLoadComplete(e:Event):void {
    var data:ByteArray = e.target.data as ByteArray;
    swfLoader.addEventListener(Event.COMPLETE, onSWFLoadComplete);
    swfLoader.source = data;
    private function onSWFLoadComplete(e:Event):void {
    loadSM = SystemManager(swfLoader.content);
    loadSM.addEventListener(FlexEvent.APPLICATION_COMPLETE, onFontLoadComplete);
    private function onFontLoadComplete(e:FlexEvent):void {
    var clazz:Class = loadSM.loaderInfo.applicationDomain.getDefinition(fontName) as Class;
    var fun:Function = clazz.getFont as Function;
    var fontClazz:Class = fun();
    var font:Font = new fontClazz() as Font;
    trace(getQualifiedClassName(new fontClazz()));
    Font.registerFont(fontClazz);
    if(loadFinishedHandler != null) {
    loadFinishedHandler(fontName);
    Anyone has idea about this? 3x~

    Hm, yes, I remember there being some challenges in this regards, with Modules loading fonts at runtime.
    If you take a look at the section "Using run-time style sheets with modules," they describe the basic approach where everything has to be loaded and registered in the primary application domain.
    I think it should work fine the way you have it, provided you are registering both the font and the loaded SWF in the primary application domain. If not, you may need to push the font registration down into the application domain being used by the loaded SWF.
    Something like this perhaps:
    childApplicatonDomain.getDefinition('flash.text.Font').registerFont(fontClass);
    Where childApplicatonDomain is the application domain of the loaded SWF.

  • Missing Fonts and Embedding Fonts

    I've run into some strange behavior using Flash Catalyst, and I can't seem to find a solution.
    I've created a project that uses a custom font. The font displays just fine in the design window, however whenever I open the project it says the font is "missing". Yet the font still shows up in the font list and is properly installed in my font directory on OSX.
    Additionally, when I deploy the project to the web I select "embed fonts". When I load up the website, the font initially appears correctly, however hovering over or clicking on the text buttons changes the font to a default font in a very strange and unpredictable way. Here's the website for reference: http://www.neighbors-film.com
    I believe this is related to FC being unable to find the font file, however I'm not sure how to tell it where the file is located.
    Any suggestions?

    Hey Mykill G,
    To use preflight tool, you might need to go to Tools > Print Production > Preflight > PDF fixups > Embed fonts >Edit
    Then, Edit Profile window will appear. In this, select Fonts under Embed fonts category and click 'unlock' from the right hand side.
    You can now click on 'Add' button to add the desired fonts.
    Also, You might check font permissions for Acrobat at the following link:
    Additional License Rights, font permission list | Adobe
    Please let me know whether your query is resolved.
    Regards,
    Anubha

  • JavaFX applet and embedded font. Browser compatibility?

    I'm trying to embed font to the JavaFX applet. I'm following instructions from [JavaFX Tutorial|http://download.oracle.com/javafx/1.3/tutorials/custom_fonts/index.html]
    It works fine on Mac OS X using Safari and Firefox browsers, but doesn't work in Chrome and Opera. As well it doesn't work in window's browsers!
    How to get it to work?
    Edited by: 842622 on Mar 8, 2011 4:29 AM

    Only workable solution yet is:
    def awtFont = java.awt.Font.createFont(java.awt.Font.TRUETYPE_FONT, Main.class.getResourceAsStream("custom font.ttf"));
    def m = java.awt.GraphicsEnvironment.class.getMethod("registerFont", java.awt.Font.class);
    m.invoke(java.awt.GraphicsEnvironment.getLocalGraphicsEnvironment(), awtFont);
    def fxFont = Font {name: awtFont.getName() size: 18}seems ugly, but works
    Edited by: fedotows on Mar 25, 2011 4:40 AM

  • Flashpaper and embeded fonts

    The code that is attached works correctly when the
    <CFDOCUMENT> tag is removed. The customerID displays in a
    browser as a barcode. When the CFDOCUMENT tag is added the
    CustomerID display as a regular font. Is there a way to embed the
    barcode font into the flashpaper so it displays properly. I have
    tried adding the "3 of 9 code" barcode font to CF through the font
    manager in the CF Admin but there seems to be little to no
    documentation about the font management usage. Any advise or
    direction is much appreciated.

    I think I got it to work by installing the font on the server
    thru 'Fonts' in the control panel (WinXP) and then restarted the CF
    Service and that did the trick.

Maybe you are looking for

  • Outlook (ex Hotmail) on iPhone refuses to send e-mail to more than one person

    Hi, I have two questions today... When I try to send an e-mail to more than one person from my @outlook.com address on my iPhone it fails everytime and a message pops up that it could not connect to the server. Sending e-mails to one person at a time

  • I'm trying to download CS5 on my new mac, .dmg says its not recognized.

    I am downloading from the official adobe site. http://helpx.adobe.com/creative-suite/kb/cs5-product-downloads.html I have had a pc version for a couple of years and i just got a new mac. I have a license that I can transfer, but the software isn't do

  • Aperture and jpeg and macook pro

    i have two questions... onely, how does aperture handle 1-2mb jpeg files. is the system use the same or do we see better prefomence... twoly, i have a macbook pro 1.83 with 1 gig of ram. i understand that specs for for the 1.1 have not been released

  • Auditing Oracle 9i

    to activate auditing for the charts of an user and all the SQLs???? Thanks

  • Deploying to weblogic 6.1

    Hi I am trying to deploy web application created in jdeveloper to weblogic 6.1, successfully able to connect to weblogic but when i try to deploy the application to the the weblogic connection i get the following error ---- Deployment started. ---- M