Adding additional fonts to RichTextEditor

Hi,
i'm quite new to flex and trying to customize a
richtexteditor element. now i'd like to add more fonts to the
richtexteditor, is this possible and if yes how?
at the moment i embedded the font, but how can i import it to
the rte?
quote:
[Embed(source='BOD_R.TTF', fontName='Bodoni MT',
mimeType='application/x-font', flashType='true')] private var
myFont:Class;

I can't get this to work either. This surprisingly, seems to
be a huge hole in Flex. The RTE can be assigned 1 embedded font,
through the RTE's fontfamily attribute. But, if you utilize the
fontfamilyarray, your embedded fonts, if they are non-system fonts,
are basically ignored. I've search high and low, and noboday has a
fix for this. I saw a posting on the flex bug's web site, but
someone said it was supposed to act this way... Which really throws
me for a loop, so basically its supposed to be broken then. Below
is a reference to what I've been able to do. I think I'm pretty
close, but of course nobody actually knows how to get multiple
(non-system) fonts to work in the RTE.
<mx:Style>
@font-face {
src:url("AABIGFICTION.swf");
fontFamily: "AABIGFICTION";
@font-face {
src:url("Baskerville_Old_Face.swf");
fontFamily: "Baskerville_Old_Face";
</mx:Style>
<mx:Script>
<![CDATA[
private function returnHandler():void {
RTE.fontFamilyArray = ["AABIGFICTION",
"Baskerville_Old_Face"];
]]>
</mx:Script>
<mx:RichTextEditor id="RTE" title="Title" width="440"
height="368" creationComplete="returnHandler();">
*NOTE*
*IF you assign the fontFamily within the RTE to 1 of the
embedded non-system fonts, it will render the font.
*Below AAGBIGFICTION will show, but you will not be able to
use any other font.
<mx:RichTextEditor id="RTE" title="Title" width="440"
fontFamily="AABIGFICTION" height="368"
creationComplete="returnHandler();">

Similar Messages

  • Adding additional font option

    Hi,
    How to add additional font option in the Column properties.
    I have to add new font type to the list, How to do this?
    Please advice.
    Thanks,
    Vino

    Those are available default font types present in OBIEE.
    For any additional formatting options you can use CSS style sheets and classes where you can specify your own Custom styles
    This blog has a good explanation of the available options
    http://obiee101.blogspot.com/2008/09/obiee-custom-css-style-class.html
    hope it helps
    Prash

  • How does the new "download additional fonts" feature works?

    I'm so happy to see that the “download additional fonts” feature has added in the newest iWork suite for iOS. In previous versions of iWork for iOS, available fonts are only limited to those that iOS has built in, which you can see a complete font list here: iOS 7: Font list.
    And a couple of days ago, I found that the iOS 7 is now support “download additional fonts for Apps” feature. Which means that Apps can download a Apple-provided list of addtional fonts if necessary. And we can find this list of font in that support page given above.
    So if you edit a pages / keynote / numbers file on a Mac using some fonts that iOS hasn't, then when you open it on an iOS device, it'll download the fonts for you to make your document more beautiful and personalized. That is to make sure that the document has exactly the appearance that you wanted.
    But here comes the question:
    Sometimes, those addtional downloaded fonts are available for all the documents in that App, and sometime they are only available on that particular document. Any idea how does this function work? Is it a normal function, or is it a bug waiting to be fixed?
    The downloaded "addtional fonts" are only limited to that App you're using. For example, you can access the fonts in which the App you downloaded them. So if you're using Pages to download fonts, you won't be able use them in Keynote. In other words, you have to download them again, and this will obviously take a large amount of storage space on my device if I want to use those fonts in every App. So again, is it a normal function, or is it a bug?
    Any solutions, guys? A thousand thanks in advance!

    This isn't totally new, as it was part of iOS 6 as well:
    http://support.apple.com/kb/ht5484
    But since it really only applied to Asian fonts, it was not of much interest to other users.
    Could you give an example the fonts not being available in other documents in a particular app?
    I think confining the extra font to individual apps would be considered by Apple to be their standard desired behavior and not a bug.  It is the way iOS works in general.
    Have you actually checked the amount of storage space these fonts take up?  I doubt it is very large.

  • Hi Guys,  I am using the full width video widget on a site. The widget was working perfectly however I have just added additional content to the site and re-uploaded and now the video is not working! Please help I have tried everything and am freaking out

    Hi Guys,
    I am using the full width video widget on a site. The widget was working perfectly however I have just added additional content to the site and re-uploaded and now the video is not working! Please help I have tried everything and am freaking out as this web-site has been payed for by my client.
    Alex

    Many thanks.
    With those symptoms, I'd try the following document:
    Apple software on Windows: May see performance issues and blank iTunes Store
    (If there's a SpeedBit LSP showing up in Autoruns, it's usually best to just uninstall your SpeedBit Video Accelerator.)

  • Issue with adding new fonts in Lion

    I'm trying install two new fonts on my Mac Book Air and cannot get it to allow me to add them to the Font Book. (I've just successfully added the same fonts on to my Mac Book Pro which runs Snow Leopard, so this is definitely a Lion issue.)
    I've created a new font library and then tried adding the fonts to it but it refuses to validate the font saying that '1 serious error was found. Do not use.'  Any ideas of how to remedy this as I urgently need to use the font?
    Many thanks.

    Derp Derp Derp?? TestDerp Then Derpy Derp Derp

  • Adding additional j2ee node

    Hello,
    we are running BI 7 - abap+java stacks with 16 GB ram (recently added)
    i would like to know what is the thumb rule for adding additional j2ee node?
    when is it neccassary to add additional j2ee node?
    Regards,
    Moshe

    Hi,
    The JLaunch starts a Java program. It loads the JVM into its own address space and then represents the required cluster element. The program can receive notification from the JControl process via named pipes to stop the cluster element, and terminates, if the JControl stops running (fork emulation under Windows).
    So Jlaunch consuming high CPU time means that server, dispatcher or bootstrap process consume it. If there are not enough system or application threads avaliable means that the engine must buffering requests for web application or system processes. Things to check in this case are:
    SAP NOTE 1016241 - J2EE Engine hangs because of unsufficient system threads
    SAP note: 716604  and upgrade JDK.
    SAP note: 723909 -> set correct VM parameters
    and if issue persists, then you will need to analyse the application causing teh leak...
    SAP note: 1259465: Memory analyser.
    Regards,
    Hemanth

  • Adding Barcode Font, Other PDF reports complete in warning

    Hello guru's,
    I am needing assistance with a barcode font problem that I am having. We have followed instructions on Tim's blog about adding barcode fonts but the concurrent program completes in a 'warning' status.
    Also, other reports that were developed in Word that are getting output to PDF format are also completing with a warning(even though they have no Barcode Font on them). When I try to view the output through EBS it will not let me view it(though it will let us print the report to a post-script printer with a pdfTOps printer driver).
    Interestingly enough, when we remove the Font Mapping(which was done at a site level) all the reports without barcodes complete successfully and can be viewed through EBS(and the report with the barcode font completes in a warning). So my question is, why does this happen and how do I fix the issue? It appears as though the Font Map which we created is not allowing the predefined fonts in XML publisher to work properly?
    Thanks in advance!!!

    Which version of XML Publisher are you in? You might have to install a patch for bar code to show up on PDF outputs.
    Please take a look at metalink note: 373377.1 (in the bottom of this document, please see the patch info along with error info).

  • Adding Additional Columns in LOV,That column capturing values from function

    My requirement:
    Adding Additional Columns in LOV,That column values capturing values returned by function.....
    Give me the ides to achieve this...

    Hi Subramaniam,
    If your requirement is to call a Database function then please make use of the below code ,
    import java.sql.CallableStatement;
    import java.sql.SQLException;
    import oracle.apps.fnd.framework.server.OADBTransactionImpl;
    OAApplicationModule oaapplicationmodule = oapagecontext.getApplicationModule(oawebbean);
    OADBTransactionImpl txn = (OADBTransactionImpl)oaapplicationmodule.getOADBTransaction();
    CallableStatement cs = txn.createCallableStatement ("begin :1 := xxpackageName.xxfunctionname(:2,:3); end;",-1);//Replace your function Name
    try
    cs.registerOutParameter(1, Types.VARCHAR);
    cs.setString(2,InputParam1); // InputParam1 is the name of variable captured from the OAF page and passed into function as input parameter
    cs.setString(3,InputParam2); //InputParam2 is the name of variable captured from the OAF page and passed into function as input parameter
    String outParamValue = null; // outParamValue will capture the value returned by function .
    cs.execute();
    outParamValue = cs.getString(1);
    catch(SQLException sqle)
    throw new RuntimeException(sqle);
    finally
    cs.close();
    Let me know if its not clear .
    Keerthi
    Edited by: keerthioaf on Nov 23, 2012 5:17 AM

  • FBL5N : Adding additional field PERNR  to layout

    Hi experts,
    I had added additional field PERNR - personnel number in FBL5N layout for displaying in output.
    I had added pernr- personnel number by following the path
    SPRO -> Financial accounting ( new ) -> accounts receivable and accounts payable-> customer accounts ->line items -> display line items -> define additional fields for line item dispaly
    here i added bseg - pernr
    after adding , in FBL5N layout the field is appearing , but it is displaying blank in output  .
    Is there any thing needs to be done to display additional field in output of FBL5N.
    kindly give me any suggestions.
    thanks & tregards,
    Raghul
    Edited by: Raghul Gandhi on Mar 23, 2010 9:30 AM

    Hi,
    FBL5N: customer line item display.
    BSEG-PERNR: personnel number.
    Under which circumstances should BSEG-PERNR contain a value if you create customer related postings?
    If there is no personnel number given during posting (why should it?)  the field added to the FBL5N-layout will be empty.
    Best regards, Christian

  • I have just added sound fonts in my library bank, but everytime i try to load a sound tru DLS my logic crashes... Plz help.

    I have just added sound fonts in my library bank, but everytime i try to load a sound tru DLS my logic crashes... Plz help.
    cassykeys

    Have you tried importing them into the EXS 24 ? Assuming the process is the same if you're on Logic X, its just a matter of putting the soundfont files into the ~/Library/Application Support/Logic/Sampler Instruments folder and the EXS converts them when you try to load them - its explained properly in the Software Instruments manual (EXS24 section), but its very quick and  easy. It might provide a decent alternative.

  • Adding additional tables to the extractor configuration

    Hi Experts,
    Can you please help me adding additional tables to the SAP extractor and to configure the field data in the orgstructure to show a flag against the position.
    Luke - I have tried using the option said by you from Application-wide Settings-->Data Centre --> Read SAP Table, it has properly save the added table, but not able to see it from SAP extractor configruation and not able to extract any data. Also, can you please guide me how to use the fields from this table (HRP1010) to write a small piece of logic to show a flag for a particualr position based on data.
    Thanks in advance,
    Purandhar

    Hi Purandhar,
    I have tried using the option said by you from Application-wide Settings-->Data Centre
    --> Read SAP Table, it has properly save the added table, but not able to see it from
    SAP extractor configruation and not able to extract any data.
    This has probably added a data element - I would check in the dataelementconfiguration folder in your build's .delta folder. IF so then you have the first step completed. Now you need to add the necessary configurations to use the data that comes through this data element.
    Go to your orgchart/hierarchy and navigate to Views. Here select your view (or your first view if this needs to be done for more than one view - if so you'll need to repeate these steps but not the step you already did in the Data Centre), and then click the + icon next to Design Details. Here you can add a new linked detail to your view detail. Simply give it a name, select the detail to link it to (usually the top level detail which is in blue), select a link field and then select your data element that was created in the Data Centre.
    Now if you try to add a section to your view inside the Design Details view designer you will see your new detail added. You can then select it and add fields from this detail.
    Also, can you please guide me how to use the fields from this table (HRP1010) to write
    a small piece of logic to show a flag for a particualr position based on data.
    Once you have been able to add the data in the views designer you will probably need to do some XML and XSL editing because you cannot edit XSL files in the AdminConsole and you will need to do this to get your icon/flag to show.
    First of all you need to create a new XSL file and put it into a folder in your .delta\root folder. For example, My_XSL_files. Here you need to write the code to render your flag based on your variable. You can find plenty of examples in all of the pre-existing XSL files. Then you need to copy PresentationResources.xml to .delta\root\XML and add the reference to your new XSL file.
    Go to your build's .delta folder and go to detailconfiguration. Find the detail you just created and open it. You'll find a section in their that you just added with a reference to an XSL file (e.g. if you added a Simple Caption section it will probably be something like SimpleCaptionXSL). Change this to the reference in the PresentationResources.xml.
    Load your build in the AdminConsole and hit Publish. Once done you should see your icon. Sometimes if your XSL is invalid or the code doesn't work you won't see anything. This is not unusual as the whole process can be quite tricky - even for us with lots of experience!
    Good luck!
    Luke

  • Adding new fonts to Symbian Anna on E6

    I wonder to know how to adding new fonts to Symbian Anna on my E6. Most of my Word and PowerPoint documents require some special fonts, such as Courier News, in order to display correctly.
    Does anyone know the solution?

    @truong_nt
    There is solution demonstrated for E7, N8, C7 & C6-01 but not yet seen E6 mentioned in this respect.
    Happy to have helped forum with a Support Ratio = 42.5

  • Adding additional sld

    Hello,
    we have 1 sld  - configured on the portal dev -
    i would like to add additional sld - configure it on the portal production - all the production systems will be added to this sld, and all the qa and dev systems will remain on the sld opn the portal dev
    what are the specific pahses in adding additional sld , updating it if neccasary, and moving the relevent systems
    Regards,
    Moshe

    Hi
    The task could be done like this:
    1) Activate the SLD in the EP prod and configure post-processing accord. to SLD guide
    2) Ensure that the DEV-SLD and new PRD-SLD has the same CIM model version and SAP_CR version
    3) Export the content from DEV-SLD (export line ALL)
    4) Import this export into PRD-SLD
    5) Configure all production systems "SLD data provider" to send technical data to PRD-SLD
    6) Configure all production systems "SLD client role" to work with PRD-SLD
    ...now the DEV-SLD will only get technical data from the non-productions systems. If you want both SLD's to have a full view of alle systems then ALL systems could use PRD-SLD as target for their data suppliers and a sync from PRD-SLD to DEV-SLD can be set up... You maybe also need to supplement this strategy with manuel export/import of SLD content.
    BR
    Tom Bo

  • Adding additional dimensions in HFM

    Hi Experts,
    Need your advice.
    Present scenario: we have an HFM application which is pulling data from Peoplesoft transactional system. for the current application we have created 4 custom dimension and based on it all the mappings were done.
    Required:there is a requirement for adding additional custom dimension.
    i just want to know if it is possible to add additional custom dimension in the present application without affecting the previous data within the application.
    please advice the steps and the precautions to be taken.
    will such addition affect the previous period data?
    Thanks in advance.

    What version of HFM are you running?
    If you are at 11.1.2.2 (or higher I would imagine), then following link seems to provide some basic instructions on this process:
    http://blog.topdownconsulting.com/2015/01/adding-custom-dimensions-hfm/
    I would think about:
    (1) Is an additional dimension necessary - could you possibly split up an existing custom dimension (in the past, when only 4 custom dims were allowed, many times a dimension would serve dual purposes),
    (2) If you do decide to add a new dimension, this would be a major change that would effect all aspects of the application (data loading, reporting, historical data, consolidation rules, forms, grids, etc) - so, do you have a test system you could experiment with?  At the very least you would want to make a copy of the current app and convert the copy as a test,
    (3) probably you would want to do a thorough analysis of your consolidation rules before hand to see what the implications are of adding the new dim.

  • Improve Portal performance with BI-Java by adding additional server node.

    Hi SAP Expert
    I wonder anyone might have attempted this before,
    In an environment with BI-Java and Portal Java stack installed on the same server, is it possible to improve the system performance by adding additional portal server node? or is there any improvement seen by adding the extra server node?
    I am after suggestion and experience on how the portal performance can be improve, with consideration of BI-Java sharing Portal resources.
    Any comment will be most appreciated.

    Hi Jim,
    We've this configuration at our site, Portal and BI running together (not federated).  Recommendations would be to:
    1. Set a sensibly large max heap size on each server node of Portal (at least 2GB if not larger) and implement several nodes at least.  For example we have 4 x physical nodes, each running 3 server nodes of 2GB max heap size apiece so a total of 12 nodes.
    2. Implement the BI Safety Belt for large results sets (1127156)
    3. Implement the latest JVM / JDK you can on your environment.  We found much improved performance after implementing JDK SR10 with the J9/2.3 options enabled e.g.,  -Xjvm:j9vm23
    -Xsoftrefthreshold0
    4. Patch your BI components on the Portal (BIBASES, BIWEBAPP etc) to the latest available patch level for your Portal SP level
    5. Make sure all your RFC connections are load balanced to the backend and tuned for the kind of load you expect on your reports, and the BI is sized appropriately in terms of app servers and dialog work processes, RFC-enabled login groups in SMLG etc.
    6. Consult notes 1048691 (especially useful, opions &PROFILING=X&TRACE=X added to reports for example for performance tracing), 937697, 1021921, 948158 for information about problem analysis for this scenario
    7. Implement SAP Web Dispatcher for Portal to reduce load on static mime files
    8. Tune the Portal application.  There's plenty information on SDN related to Portal performance tuning.
    I hope this helps!
    Cheers,
    Marc

Maybe you are looking for

  • How do i delete my icloud account if i don't have the iphone anymore?

    How do i delete or deactivate my icloud account on an iphone that i no longer own...I sold it to someone, but they said that i need to delete my icloud account..im kinda new to this stuff and don't have a clue what to do, can anyone help me with this

  • I know this question has been asked a lot

    But I can't find an answer to my specific computers. I have an iMac 8,1 and the first Unibody Macbook 5,1.... the iMac model: 8,1 Supports external display in dual display and mirroring modes. VGA output supported by optional Apple DVI-to-VGA adapter

  • IDOC  related question

    Hi, How to extract the content from IDOCs.e.g mautiple idocs are comming.we need to retrive the company ID from all the IDOC.So Please tell me how to  extract. Regards, Suchitra

  • FTP Access through router.

    Hello, I am trying to set up a simple ftp server to exchange files with my friends in other cities. When i start the service (FTP Access) it gives me this link: ftp://192.168.0.3/ However this ip is the internal ip address i use to connect with my wi

  • Custom XML message

    I have a custom XML message I am developing for the 11.5.10 E-Business Suite. It seems to work fine on the XML to XML conversion, but when I try to hand it off to the OTA, it doesn't recognize the XML message. Do I need to load a DTD for my XML messa