List by program the fonts used in a PDF document

Hello.

I want to make a list of all the fonts used in a PDF document. After reading the ISO 32000 standard (again), I tend to think that the only way to scroll through pages and list fonts used in each of them.

Is it possible (and more) to do this?

Nope - that is the only way.

And don't forget that you can NOT just watch the Page resources dict.  You need to do a complete walk of recursive in the content stream find all the graphic objects themselves have resources.  Oh, and don't forget the Annotations!

Tags: Adobe Developers

Similar Questions

  • How to identify the fonts used in a pdf document

    Hi all! I was given a pdf and asked to understand which fonts are used. Is there an easy way to find this information? I use the version of Adobe Acrobat Pro CC on an iMac. I looked online, but only to find old information. Thank you!

    Julie

    See: file - properties - Fonts.

  • Display the fonts used in a pdf file

    Hi, can someone please tell me a simple way to learn how to get a list of all the fonts used in a certain pdf I downloaded and the desire to change?

    Thank you.

    Look under file - properties - Fonts.

  • List of all the fonts used in a document?

    If I understand correctly, TextFonts is a collection of all the fonts that are available on Illustraot.  There is a collection of all the fonts used in the document currently open?  Or should I scroll each textFrame a create this list myself?

    I don't know why and how you write the error log, so I only add a single alert after all. "xmpString" and "XMP library" are two different methods, you only need one, then.

    #target illustrator
    
    var inputFolder = Folder.selectDialog("Select a folder contains '*.eps' files ");
    
    if (inputFolder) {
        var fileList = inputFolder.getFiles('*.eps'),
            fontsInfo = [];
        loadXMPLibrary();
        for (var i = 0; i < fileList.length; i++) {
            if (fileList[i] instanceof File && fileList[i].hidden == false) {
                fontsInfo.push(getFontsInfo(fileList[i]));
            }
        }
        unloadXMPLibrary();
    }
    
    var Loginfo = new File(inputFolder + '/Font.info.txt');
    Loginfo.open('w', 'TEXT', '????');
    var info = fontsInfo.join('\n\n');
    Loginfo.write(info);
    Loginfo.close();
    
    if (/(Open Type|TrueType)/.test(info)) {
        alert('Open Type / TrueType font found, see log file for details!')
    }
    
    function getFontsInfo(file) {
        var arr = ['File: ' + decodeURI (file.name)],
            xmpFile, oXmp, fontNumber, i, path, fontname, fonttype, ns = 'http://ns.adobe.com/xap/1.0/t/pg/';
        xmpFile = new XMPFile(file.fsName, XMPConst.UNKNOWN, XMPConst.OPEN_FOR_READ);
        oXmp = xmpFile.getXMP(); //Returns an XMPMeta object
        fontNumber = oXmp.countArrayItems(ns, 'xmpTPg:Fonts');
        xmpFile.closeFile(XMPConst.CLOSE_UPDATE_SAFELY);
        if (fontNumber) { // if there's at least 1 font, proceed
            for (i = 1; i <= fontNumber; i++) {
                path = XMPUtils.composeArrayItemPath(ns, 'xmpTPg:Fonts', i);
                fontname = oXmp.getStructField(ns, path, XMPConst.TYPE_FONT, 'fontName');
                fonttype = oXmp.getStructField(ns, path, XMPConst.TYPE_FONT, 'fontType');
                arr.push([i, '. ', fontname, '-', fonttype].join(''));
            }
        }
        return arr.join('\n');
    }
    
    function loadXMPLibrary() {
        if (!ExternalObject.AdobeXMPScript) {
            try {
                ExternalObject.AdobeXMPScript = new ExternalObject('lib:AdobeXMPScript');
            } catch (e) {
                alert('Unable to load the AdobeXMPScript library!');
                return false;
            }
        }
        return true;
    }
    
    function unloadXMPLibrary() {
        if (ExternalObject.AdobeXMPScript) {
            try {
                ExternalObject.AdobeXMPScript.unload();
                ExternalObject.AdobeXMPScript = undefined;
            } catch (e) {
                alert('Unable to unload the AdobeXMPScript library!');
            }
        }
    }
    
  • Change the font size of a PDF document in Adobe Illustrator

    Hello!

    I tried many things and I don't know what to do now... And it's probably easier I think.

    They sent me a map of the city in PDF and I need to develop/Navy font size of the names of streets (all the text that appears in the document).

    I tried with the scale tool, but the text is changed its position. I also tried the transformation of each, but the letters of the text gets one above the other.

    I guess it's because the text is rotated as Illustrator gets each letter instead of the whole word.

    Please, does anyone know how to resize the text without affecting its position?

    Thank you very much!

    PS: If there is another solution using another Adobe product I have will also enjoy! Thank you very much!

    landing,

    If I (put) understand it, simply select all the letters in each name of street and Ctrl / Cmd + G, and then use the object > transform > transform each.

    You can expect a bit of position (and maybe same curvature) adjustment to curved streets/street names.

  • How to change the fonts used to display the list of emails on the homepage?

    Looking at my Inbox or other e-mail folder, the font used to display the list of emails in folders - gives me a headache.

    How can I change this font? Is there an add-on? Something in their profile?

    Ideally, I would like to change the background color of white also. (Perhaps the color on this page where I ask the question. "It's easy to read, the font and the color!)

    I've been a programmer in a past life, so I'm tech abreast. I am new to use Thunderbird (I used FF for several years.)

    Thank you!!

    Yes, to change the font, you can use this addon:

    Also, try to use themes:

  • [JS] [CS4] List the fonts used in the Document

    Hi to all the gurus, scripting

    I have the following script that returns a list of the fonts used in the document:

    function fontused(){        

          var fontscoll = document.fonts;         

         for(var i = 0; i < fontscoll.length; i++){            

              var font = fontscoll[i];            

              alert(font.name);          

         }

    }

    The above works OK my problem is that it also lists the fonts used in placed illustrator (.eps) files. Is there some kind of setting or something that I can use so that the list only the fonts used in the text?

    -Horse

    Hi Charles

    Try this

    var  myDocFonts=app.documents[0].stories.everyItem().textStyleRanges.everyItem().appliedFont,
            l = myDocFonts.length, myFonts="";
            uniqueFonts = {}, n;
    while (l--) uniqueFonts[myDocFonts[l].name] = myDocFonts[l].name;
    for (n in uniqueFonts) myFonts+=(uniqueFonts[n])+"\r";
    alert(myFonts)
    

    Trevor

  • How to identify the fonts used in text format?

    How to identify the fonts used in text format?

    Hi DSB.

    Open the document in Reader, go to the menu file-> properties, then click on the tag are. You will see a list of the fonts used in the document.

    Another option is to copy the text and paste it into MS Word, where you can simply move your mouse over the text to display the name of the font.

    Kind regards

    Nicos

  • How can I clear the attraction of the browser to the bottom of the list, I followed the directions using the options and it will be not only clear

    How can I clear the attraction of the browser to the bottom of the list, I followed the directions using the options and it will be not only clear

    Entries in the location bar drop-down list with a yellow star (blue on Mac) at the right end of the bookmarks.

    You can delete this an item marked with a bookmark that appear in the list, if you open this url in a tab and click on the yellow star in the address bar.

    This will open the "Edit this bookmark" dialog box and you can click on the delete button to delete the bookmark if you want to delete such an entry marked with a bookmark.

  • Is there a way to control the fonts used by a remote façade displayed in a browser?

    When you use a web browser (on a system with only the TEN LabVIEW installed) to monitor a remote façade commissioned from a cRIO is a way to control which fonts are used by the browser when it displays the Panel?  In the case of a stand-alone executable, I know that you can include definitions of fonts associated with the executable 'appfont' and 'FPfont' in the INI file to control the fonts used by the executable. Is there something similar that can be done with a front panel running in a browser window?  Or do I go through the VI and explicitly define a non-generic font specific for each control and indicator that is displayed?

    What is the size of fonts in windows on the PC?  It has 125%?

    Your problem is similar to that discussed in this thread.  Set a Date and hour - week 5 months does not last line

  • At the point of the map, how to change the font used

    Hello

    I want to change the font used in the bubble in Mappoint. I don't talk about boxing of text or the text size, I just want to change the police and use "Microsoft sans Serif".

    Is this possible?

    How to do?

    I used Windows 7,

    Best regards

    You can ask in the following forum because they are more likely to have relevant experts:

    Highway, streets and Trips, MapPoint .

  • Trying to find the font used in an file under license

    I bought a license, but the text is not editable, but in the paths.

    How to find the police for this file, I can not also know how to contact the artist directly.

    https://stock.Adobe.com/search?k=109336435

    File # 109336435

    You can't contact contributors. The best way to find the police or narrow fonts is in Photoshop using the new font matching tool. In the screenshot below, the font used for the text "Summer picnic" is, or is very close to 'DIN Condensed Bold'...

  • Can I print the last page of a PDF document using the command line?

    Hello

    I'm in a situation where I constantly have to deal with several documents in PDF format, and I need to print the last page in each of them and ONLY the last page. The total number of pages vary for each file, so the page to the last page number will also vary.

    I really prefer to not do it manually, to open each file in the visible window of Adobe Reader, and then print.

    Question:

    Is it possible with Adobe Reader (perhaps with the help of another Adobe product) to print only the last page of a PDF document using some sort of command line without having to open the PDF file in the Adobe Reader window visible?

    I use Windows.

    Thanks in advance,

    Kind regards

    Emil

    Hey, I've just set up a measure of inquiry by accident. That's really bad thinking. Here's what to do.

    When the "Create new Action" checkbox is shown...

    Choose Start with: a file open in Acrobat

    DO NOT CLICK on add a step statement

    Open tools more

    Click once on run JavaScript

    A blue line to run JavaScript must appear on the right side.

    Click on the small box under Options inside the blue line

    A JavaScript editor should appear; Enter the program, and then click Ok

    To save in: select do not save the changes.

    Click Save

    Give a name; you don't need to enter a description (although it won't hurt if you do).

  • How I see the preview image of my PDF documents?

    How I see the preview image of my PDF documents?

    Hi josepm26085232,

    Preview of thumbnails has been disabled in the latest Adobe Acrobat Reader DC due to security problem.

    If you want this feature, you will need to uninstall the latest version & reinstall the old version of the Adobe - Adobe Acrobat Reader DC Distributiondrive.

    Kind regards
    Nicos

  • How can I change the dark places in a pdf document?

    How can I change the dark places in a pdf document? I xeroxed pages of a book, and photocopies are not great quality - many shadows where the book open on the copier glass.

    When I had scanned photocopies, dark places to black deep and made the texts scanned / almost illegible xeroxed.

    How can I lighten images in PDF files so that the text is readable again?

    Depending on your version of Acrobat. see if anything in these Articles help

Maybe you are looking for