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

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

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

Similar Messages

  • When I convert my pdf doc to word, the fonts go really weird and it also puts some text into boxes. when I try to select the test and change the font, it does not change it properly?

    When I convert my pdf doc to word, the fonts go really weird and it also puts some text into boxes. when I try to select the text and change the font, it does not change it properly? This is making it impossible to amend.

    Hi Janedance1,
    If the PDF that you converted already has searchable text, please try disabling OCR as described in this document: How to disable Optical Character Recognition (OCR) when converting PDF to Word or Excel. (If the PDF was created from a scanned document and doesn't already have searchable text, disabling OCR isn't a great option, as the text won't be searchable/editable in the converted Word doc.)
    Please let us know how it goes.
    Best,
    Sara

  • How can one edit a .gif file graphics background and change the fonts in Photoshop Elements 13?

    I am trying to change the color and fonts of some of my web sites .gif files. Can I change the color to another hexadecimal color and change the fonts of the letters in Photoshop 13? I am using Windows 7 and heard that you could save the .gif file to another format, edit it, then change the file back to a .gif file. Is this true? If so, how do you do it? The file just has a solid color with the letters "Firm " on it. No animation.

    You can edit a gif without changing the format, but once you save the file as a gif the text becomes part of the image, not text anymore, so you would need to clone or heal away the existing text and then create a new text layer and use save for web to create a new gif.
    For access to the most editing tools, while the file is open in the editor go to image>mode and change it from index color to RGB. Saving as a gif will change it back to index mode.

  • How can i change standard font and fixed-width font in ipad 2?

    i need to change standard font and fixed-width font in my ipad 2, but i can not find safari setting menu. it is alower me to change that?

    Sorry, the font is not user selectable in Safari on iPad, like it might be on a desktop.  You can change the font size, but not the actual font.

  • How do I edit the font and bold text in the message box in adobe send before sending to client?

    How do I edit the font and bold text in the message box in adobe send before sending to client?

    Hi BRAEWOOD DEVELOPMENTS,
    You can edit the Subject & Message when you've selected Send Personalized Invitations (though you can't change the font or style of the text).
    Best,
    Sara

  • I have bought an used Iphone 5. I dont have the password for the existing login id of the old owner. How do i use the phone and change the log in id?

    I have bought an used Iphone 5. I dont have the password for the existing login id of the old owner. How do i use the phone and change the log in id?

    Unfortunatly the only way that you can get it off is to get the old user to input the password.  You may need to contact that old user and see if he can put the old password in.  hope this helps.

  • Illustrator CC Crashes when I try and change the font

    Help! I can not get Illustrator to work - I reinstalled my wacom driver and have troubleshooted with Wacom. This seems to be an issue with Illustrator.
    When I open a doc or create a new doc the minute I try and change the font it crashes.

    Read the signs for what they are: Your fonts are busted and you have a "bad" font somewhere in there. Remove al lextra fonts and add them back only as needed.
    Mylenium

  • All of a sudden, my settings have been changed, my homepage, and EVERYTHING. No matter how many times I go in and change them again, the SAME pages open up when I start FireFox and I am constantly being asked if I want Yahoo as my start page and default s

    I don't know what happened. All of a sudden, my settings have been changed, my homepage, and EVERYTHING. No matter how many times I go in and change them again, the SAME pages open up when I start FireFox and I am constantly being asked if I want Yahoo as my start page and default search engine. I click the box 'do not ask me again' and it comes up EVERY TIME. I change things like I don't want history remembered, and when I reload FireFox again, it's back to the way it was BEFORE. EVERY SINGLE TIME. I don't know why this is happening, or how to fix it. What do I do??

    I do not want to download another virus program.. I do not believe it is a virus. I am running the full version of Norton 360 and it is doing a daily scan. I have Windows 7, 64 bit OS.
    This is very irritating !! If I wanted Yahoo I would ask for it !

  • How to find the font and replace another font using javascript in illustrator?

    Dear All,
    how to find the font and replace another font using javascript [batch process] in illustrator?
    i have 700 image file, it very deficult replace one by one.
    regards,
    .Suresh.S

    Ask the creator of the file for a unprotected version.

  • HT1918 how can i remove my billing and change it into a free apple id user?

    how can i remove my billing and change it into a free apple id user?

    iTunes Store: Changing Account Information
              http://support.apple.com/kb/HT1918
    Select None under your payment method.

  • How to move some xml element and its content to a new frame

    Hi All,
    How to move some xml element and its content to a new frame.

    Hi Chinnadk,
    Sorry my code its comment some lines. Now only I check the forum thread, you just try one more time.
    #target InDesign;
    #include "/Program Files (x86)/Adobe/Adobe InDesign CS5.5/Scripts/XML Rules/glue code.jsx"
    var myDoc = app.activeDocument;
    //____________________ XML RULE SET
    var myRuleSet = new Array (new margintag);
    with(myDoc){
        var elements = xmlElements;
        __processRuleSet(elements.item(0), myRuleSet);
    function margintag(){
        this.name = "margintag";
        //this.xpath = "//margintag[@type='mn2']";
        this.xpath = "//margintag";
        this.apply = function(myElement, myRuleProcessor){
            with(myElement){
                app.select(myElement);
                try{
                    var myPrePara = app.selection[0].paragraphs[-1].parentTextFrames[0].paragraphs.previousItem(app.selection[0].paragraphs[-1]);
                    if(myPrePara.characters[-1].contents=="\r"){
                        myPrePara.characters[-1].remove();
                    var myTextframe = myElement.placeIntoInlineFrame(["7p9","6p"]);
                    myTextframe.appliedObjectStyle= myDoc.objectStyles.item("MN1");
                    myTextframe.fit(FitOptions.FRAME_TO_CONTENT);
                    myTextframe.parentStory.paragraphs.everyItem().appliedParagraphStyle = app.activeDocument.paragraphStyles.itemByName("MN1");
                    }catch(e){}
                app.selection = null;
            return true;
    thx,
    csm_phil

  • How to embed the Word Document and PDF file into Crystal report?

    How to embed the Word Document and PDF file into Crystal report?
    I have word doc which having 10 pages. I need to show all of the 10 pages at a time. I tried OLE object but problem is it shows only one page.
    Is there any solution to show word doc / PDF file in CR?

    Symptom :
    When embedding a pdf document into a Crystal Report, only the one page shows.
    Reproducing the Issue
    Environment:
    Crystal Reports OLE object
    Cause
    An OLE object only displays the first page.
    Resolution
    Embed multiple objects, one for each page
    Or
    Use a hyperlink to the object instead
    Hope this helps!
    Regards,
    Vinay

  • How I break then insert mod and change to query mod through coding

    Hi master
    Sir how I break then insert mod and change to query mod through coding
    Please give me idea
    Aamir

    what do you mean with query-mode? QUERY-mode or ENTER-QUERY-mode ?
    QUERY-mode is after you fetch successfully data from the database
    ENTER-QUERY-mode is the mode, when you insert your selection-criteria into the record

  • How to give authorisation to create and change request?

    How to give authorisation to create and change request? Which T Code is needed to create request and change request?
    Rajkumar.

    Hi,
    For creating/changing/displaying change requests, you need to give access for SE01, SE09/SE10.
    You needn't give access to transaction SE03 to all users, only super users should have that access from security point of view.
    Regards,
    Sarita

  • Dynamic Text and changing Text in AS3

    I have a Dynamic Text box in my Library.  I drag it to my main stage and give it a name..it is now a movieclip. The name is 'mcAdmin'.  I added an event listener for MOUSE_OVER.  I want the text to change color, but for now I'm just trying to change the text; however, it's not displaying the change in text I want.  I do a trace, and the change is in there on the output window, but it is not displayed as such.  How can I :
    1) use AS3 to change the font color of the text
    2) use AS3 to change the text and have it display?
    function onMouseOver_txtAdmin(e:MouseEvent):void
    Mouse.cursor="button";
    //Current mcAdmin text is 'Administration'
    //I want to change the color of Administartion on Mouse_Over
    //but to test if I can get to anything, I'm just trying to change the text.
    mcAdmin.text="Hello";
    trace(mcAdmin.text);
    mcPPMB.alpha=.5;
    mcASB.alpha=.5;
    mcISO.alpha=.5;
    mcEA.alpha=.5;
    mcAdmin.alpha=1;
    mcAdmin.scaleX=1.25;
    mcAdmin.scaleY=1.25;
    Thanks.

    1st
    give the textfield a name, if it hasn't already (sounds like you put it in a movieclip).
    to change the text set the text property of your text field
    like this
    myTextField_txt.text = "here is the text";
    or if it is inside a movieclip
    myClip_mc.myTextField_txt.text = "here is the text";
    To change the color you would need to put a TextFormat on it. To keep the same fontsize, font etc. you could first get the TextFormat from your existing Textfield, change the color of the TextFormat and set it on the TextField.
    // get the Textformat of the first character
                var TF:TextFormat = myTextField.getTextFormat(0,1)
    // set the font color
                TF.color = 0xff0000;
    // put it on the whole text
                myTextField.setTextFormat(TF)

Maybe you are looking for

  • Dunning letter print output error

    Dunning Letter Generate and Custom Dunning Letter Print is not giving an output. The message is: "The file cannot be opened because it has no pages." Does anyone knows what might be the reason? and how to make Dunning letter work again..this is somet

  • Wrong result with SDO_WITHIN_DISTANCE

    Hi All, If you write a query with spatial condition using the SDO_WITHIN_DISTANCE operator and if, in your table there are polylines that have any two consecutive points that are identical, then, the result of the query is inexact. It seems that thes

  • Communication issue between SAP and VERTEX

    Hi All, We are facing connectivity issue with our Intergration system and vertex and below is the error message from SM59.Development and production seems to work fine.Kindly help check. Logon     Cancel Error Details     timeout during allocate / CP

  • Embedding PDFs with live hyperlinks?

    Hi Everybody- I was originally updating my site just by copy/pasting text into textboxes on my site, but I have run into a lot of formatting issues between FF, Safari, and IE...surprise surprise. So...I want to just take all the text I plan to add ea

  • Reading mp4 format

    Hi I converted mpg short clips in mp4 format using PC Suite's converter. I can not read the resulting file on my E61; is there something I'm doing wrong in my setup or is there a qwak in the software? CK