How to identify the type of Fonts

How to identify the type of font names like "True Type font" (or) "open Type font" for illustrator file using Scripts. Could you please advice me.
Thanks,
Prabudass

The code below will prompt the user with the type face of a single text-frame.
shastafir
// 5/4/2009
// Open a new document and create a single text box
// with some type in it.
// Get access to the active layer
var aiDocument = app.activeDocument;
var aiLayer = aiDocument.activeLayer;
// Get access to the type-frame's font
var textBox = aiLayer.textFrames[0];
var theFont =
textBox.textRange.characterAttributes.textFont;
// Alert user with the name of the font
alert(theFont.name);

Similar Messages

  • How to Identify the Type of Font Names in Illustrator

    How to identify the type of font names like "True Type font" (or) "open Type font" for illustrator file using Scripts or any language. Could you please advice me.
    Thanks,
    Prabudass

    If there is an Illustrator SDKor Illustrator Scripting forum, try
    that. ATM won't really help - it is obsolete and should not be
    installed (breaks things).
    Aandi Inston

  • How to identify the type of font?

    Hi,
    I need to identify the type of font(open type or true type) through programmatically among the system fonts. I am using Illustrator CS3 for windows platform. Please guide me in doing this.
    Thank You.

    In the document info panel (Windows>Document Info) from the flyout you can select font details and all the fonts in the document as well as the type of font as well and of course the fonts name. The document info can be save with all the info about the document as well as the fonts.
    That info document can be opened in a number of applications such as Excel a script editor which in turn might allow you the ability to extract he font info you are looking for but the document info pretty much is scripted to grab this info in a prescribed way so it must be scriptable and so you should go to the Illustrator scripting forum to see if there is perhaps a script that already exists for this purpose.
    What do you need to do with this info once you have it?
    Or is the document info the thing you are actually looking for? I would think you need no more than that.

  • Identify the Type of Font Names in Illustrator

    How to identify the type of font names like "True Type font" (or) "open Type font" for illustrator file using Scripts or any language. Could you please advice me.
    Thanks,
    Prabudass

    This is not an AFDKO question at all. You might have the best luck posting in the Illustrator forum.

  • How to identify the type of pocketpc barcode scanner?

    How to identify the type of pocketpc barcode scanner whteher it is intermec or symbol?
    GS

    Hi,
    well, this is the brand of the PDA - the Scanner itself is build into the device. So if you have an intermec device - you have an intermec scanner and vice versa. It is not recommended to use a HP device for example with an external scanner. This scenario is not really supported by the MI setup guides.
    Hope that helps!
    Regards,
    Oliver

  • How to identify the type of transaction from hr_api_transactions?

    Hi,
    I want to identify type of transaction from HR_API_TRANSACTIONS.
    I want to find a particular transaction is of CREATE/ UPDATE or DELETE transaction.
    I have checked values of different columns.
    However, I am not able to differentiate between transactions.
    Any pointers on this!!
    Thanks!!
    Best Regards,
    Narender

    I have found that in R12, the table HR_API_TRANSACTION_VALUES is not holding the desired values.
    Instead of this table, we have information in the transaction_document column of HR_API_TRANSACTIONS.
    And we can read this column to identify the type of transaction.
    Thanks!!
    Best Regards,
    Narender

  • How to identify the type of Jammer/interference source

    hi all,
    im trying to identify the interference source but found no reference to type of Jammers. is there a reference?
    Mon May 5 12:12:30 2014     AP US052TXPEA-ASL34[0] (64:e9:50:67:ae:90) Device ID: 0x5012, Type: Jammer[19], Severity: 64, Channels: 6, Cluster ID: 30:bf:e0:01:1a:ef, Previous Cluster ID: 30:bf:e0:01:1a:ef, Event: Set
    thanks

    Kuan,
    As you know, there is always some level of RF interference all around us. When it comes to mitigating RF interference if it becomes a real issue with clients not being able to work wirelessly, one needs to look at the type of business environment they are running, what type of businesses are around them and what sort of devices are being used in their environment itself to aid in troubleshooting. If you have cisco prime, you can easily check the duty cycle to get a good idea what type of jammer it might be. If you have 3600 APs, you can use the Cisco Spectrum Expert within Prime to launch Spectrum analyzer on that specific AP to see what is happening as well. In WLC you can take a look at clean air and interference devices to see what sort of interferers the APs are seeing. Hope this helps. 

  • How to identify a type of consolidation in a system?

    Hi,
    I need to understand how to identify the type of consolidation we are doingion the system.
    Example like Step consolidation, Simultaneous consolidation or other method.
    This will be helpfull for me in doing my currest support issues.
    Thanks in advance,
    Richard..

    Not sure to understand your question.
    What is the precise context of your issue ? Is it a problem of SEM-BCS configuration or a general problem on how consolidation works ?

  • How to identify the variable processing type

    Hi Experts,
    How to find the details of the variable whether it is filling with user exit or replacement path
    Say i have a variable xxx , how to identify the above details.
    Thanks,

    use RSZGLOBV table in VNAM give your variable and VPROCTP will give you processing type

  • How to identify the text color in a word doc.?

    how to identify the text color in a word doc.?
    I need to read a word document using java code. which contains many strings with different colors.
    i need to identify the color and giving the marks accordingly like
    test in blue color so
    test marks=2
    how can i do this using java. i only want to know how can i identify the text color using java code.?

    morgalr wrote:
    I guarantee it is not pretty.Indeed.
    I created a Word doc that simply has the word "Blue" in blue, then a space, then the word "Red" in red, all in the default font that Word started with (Times New Roman). The resulting document is 24,064 bytes. It starts off with 80 bytes of various hex values, mostly 0x00.Then 432 bytes of just 0xFF. Then 2048 bytes of various hex values, mostly 0x00. Then the text "Blue Red" (which appears twice more in the file). And so on...
    Edited by: jverd on May 10, 2010 8:45 AM

  • How to identify the right extractor

    hi all,
    i have a custom extractor(ABAP report) to pull the Std cost info into BW from R/3. I would like to remove this custom extractor and go for a generic one. Can anyone provide me the steps on how to identify the appropriate generic extractor.
    i know the underlying tables names....eg KEKO, KEPH etc

    Hi Vinod,
    There will no appropriate generic extractor as such. Generic Extration itself means creating a custom extractor. All you need to do is
    1.Goto RSO2, select the type of datasource(i.e transaction or Masterdata)
      and click on create
    2. Specify the table name, ( if you are pulling data from two tables then you have to create a view at Tcode se11, then you need specify that view here)
    3. click on generate
    This will generate the datasource
    You can refer the following doc for further assistance,
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/84bf4d68-0601-0010-13b5-b062adbb3e33
    Thanks
    Vj

  • How to identify the textbox name if they are generated dynamically

    hi
    i want to know how to identify the textbox name when they are generated dynamically. the text boxes name may vary.
    if u know tell me.
    thanx

    Try the following Code :
    <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
    <HTML>
    <HEAD>
    <TITLE> New Document </TITLE>
    <META NAME="Generator" CONTENT="EditPlus">
    <META NAME="Author" CONTENT="">
    <META NAME="Keywords" CONTENT="">
    <META NAME="Description" CONTENT="">
    </HEAD>
    <SCRIPT language="Javascript">
    function fnShowTextBoxNames()     {
         var count = document.formHeader.elements.length;
         for(i=0;i<count;i++)     {
              var objType = document.formHeader.elements.type;
              if(objType=="text")     {
                   alert("Name Of TEXTBOX NO "+(i+1)+" --> "+document.formHeader.elements[i].name);
    </SCRIPT>
    <BODY>
    <FORM name="formHeader">
    <CENTER>
    <INPUT TYPE="TEXT" name="box1" value="" >
    <br>
    <INPUT TYPE="TEXT" name="box2" value="" >
    <br>
    <INPUT TYPE="TEXT" name="box3" value="" >
    <br>
    <INPUT TYPE="TEXT" name="box4" value="" >
    <br>
    <INPUT TYPE="TEXT" name="box5" value="" >
    <br><br>
    <input type="button" name="btn" value="Show TextBox Names" onClick="javascript:fnShowTextBoxNames();">
    </CENTER>
    <input type="hidden" name="boxCount" value="5"/>
    </FORM>
    </BODY>
    </HTML>
    Hope this suffice ur requirement !

  • How to identify the maiddleware Badi or Bapi

    How to identify the maiddleware Badi or Bapi which updates our Bdoc?
    Please help
    Thanks in advance
    Edited by: kittu reddy on Apr 16, 2008 9:50 AM

    I get the bdoc validation error for bdoc type CRM_CPRJ_MBDOC
    as'FInish date earlier thatn start date'
    on researching in CRM the Actual finish date is not there
    but still replicating to ECC,
    So i please help me with the BAdis which would actually populate these dates to BDocs?

  • How do i add type kit fonts to muse web site

    how do I +add type kit fonts to muse website

    Hi.
    Check this video, might be helpful
    Let me know if you have any questions

  • How to identify the user who created the variant

    Hi All,
    Can anyone tell me how to identify the user who created the variant ?

    Hi Dear,
    For the same go to SE11 and view the table "VARID". This table give the details of the program,user,variant etc.
    From this table u can know which user created the variant. Hope this solve your purpose.
    Regards

Maybe you are looking for