View All Fonts in a Document

I keep getting font substitution errors for fonts that are not used anywhere in a document. Is there any way to get an editable list of all the fonts supposedly being used in a document so that I can just delete the problematic ones?
Thanks!
Deejay

Here is the final one.
--\[SCRIPT fontLister]
Run the script.
It will ask you to select a document
(CAUTION, at this time it doesn't test if it is a Pages one)
It extract from the Index.xml file the list of used fonts
and saves this list in a text file named "FontList_tsiLtnoF.txt"
on the desktop
Yvan KOENIG (Vallauris, FRANCE)
19 septembre 2008
(* you may set it to "Pages" or "Numbers" *)
property theApp : "Numbers"
--=====
on run
set permitted to {"com.apple.iwork.numbers.numbers", "com.apple.iwork.pages.pages", "com.apple.iwork.keynote.key", "com.apple.iwork.numbers.template", "com.apple.iwork.pages.template", "com.apple.keynote.kth"}
if my quelOS() < " of type permitted
else
set unDoc to choose file with prompt "Choose an iWork’s document" (* no type specs *)
if type identifier of unDoc is not in permitted then
if my parleAnglais() then
error "“" & (unDoc as Unicode text) & "” is not an iWork’s document!"
else
error "«" & (unDoc as Unicode text) & "» n’est pas un document iWork !"
end if -- my parleAnglais()
end if -- type identifier …
end if -- my quelOS() …
my main(unDoc as text)
end run
--=====
on main(leChemin)
local nomIndex, leCheminIndex, flag, leTexte, listepolice, liste1, fontName
set nomIndex to "Index.xml"
set leCheminIndex to leChemin & nomIndex
tell application "Finder"
set flag to exists file (leCheminIndex)
if exists file (leCheminIndex & ".gz") then (*
the file (leCheminIndex & ".gz") exists *)
if flag then delete file (leCheminIndex)
do shell script "gunzip " & quoted form of POSIX path of (leCheminIndex & ".gz")
(* CAUTION: gunzip expands the archive AND delete it ! *)
else if not flag then (*
neither the file (leCheminIndex & ".gz") nor the file leCheminIndex exist *)
if my parleAnglais() then
error "The files “" & nomIndex & "” and “" & nomIndex & ".gz” are unavailable !"
else
error "Les fichiers «" & nomIndex & "» et «" & nomIndex & ".gz» n’existent pas !"
end if
end if -- flagGz
end tell -- Finder
set leTexte to ""
try
set leTexte to read file (leChemin & nomIndex)
end try
if leTexte is "" then
if my parleAnglais() then
error "Unable to read : “" & leCheminIndex & "” !"
else
error "Le fichier «" & leCheminIndex & "» est illisible !"
end if
end if
set listePolices to {}
set liste1 to my decoupe(leTexte, "<sf:fontName>")
repeat with i from 2 to count of liste1
set fontName to (item 1 of my decoupe(item i of liste1, "</sf:fontName>")) as text
set fontName to (item 2 of my decoupe(fontName, "sfa:string=" & quote)) as text
set fontName to (item 1 of my decoupe(fontName, quote)) as text
if fontName is not in listePolices then copy fontName to end of listePolices
end repeat
my ecritLeRapport(leChemin & return & return & my recolle(listePolices, return))
end main
--=====
on ecritLeRapport(rapport)
local nomDuRapport, p2d, r
set nomDuRapport to "FontList_tsiLtnoF.txt"
set p2d to path to desktop as text
set r to p2d & nomDuRapport
tell application "Finder"
if exists file r then delete file r
make new file at folder p2d with properties {name:nomDuRapport, file type:"TEXT"}
end tell -- Finder
write rapport to file r
tell application "Finder" to open file r
end ecritLeRapport
--=====
on decoupe(t, d)
local l
set AppleScript's text item delimiters to d
set l to (text items of t)
set AppleScript's text item delimiters to ""
return l
end decoupe
--=====
on recolle(l, d)
local t
set AppleScript's text item delimiters to d
set t to l as text
set AppleScript's text item delimiters to ""
return t
end recolle
--=====
on quelOS()
local hexData, hexString
set the hexData to system attribute "sysv"
set hexString to {}
repeat 4 times
set hexString to ((hexData mod 16) as string) & hexString
set hexData to hexData div 16
end repeat
return hexString as string
end quelOS
--=====
on parleAnglais()
local z
try
tell application theApp to set z to localized string "Cancel"
on error
set z to "Cancel"
end try
return (z is not "Annuler")
end parleAnglais
--=====
--[/SCRIPT]
Yvan KOENIG (from FRANCE jeudi 20 novembre 2008 14:08:12)

Similar Messages

  • Viewing Properties - Character Section - Can't see right arrow to view all fonts

    I am using Captivate 6. I have the properties window open, and would like to change the font. I can not see the arrow on the right of the field. It is cut off with the scroll bar.

    Hi there,
    It seems that Properties pane has been dragged towards the right, you can manually drag it towards left.
    Also, You can either reset the present workspace or select any other workspace type - like navigation or widget and then try.
    Please try this.
    Thanks.

  • List all fonts used in the illustrator document

    Hi All,
    Having searched google I can't seem to find what I am after but am hoping someone here might be able to help me.
    Due to a recent issue with a designer using a font that wasn't part of the brand guidelines for a particular company we would now like to list all fonts that are used in the illustrator file in a media panel on the document when it is sent for both internal and external approval.
    I know that I can go to find font, save the list, open the document and then copy and paste that list in to a text box in Illustrator, however this is quite time consuming and a bit of a faff.
    What I would like to know is:
    1. Does such a plug in exist that will create a text box in illustrator and just list all the fonts automatically, ideally updating whenever fonts are changed?
    2. If not does anyone have a script that I can run that will do the same thing and just drop a list of all fonts currently live in the document in to a text box?
    I will have the same issue when working with Indesign documents to so if anyone one know the answers to the above but all related to indesign that would also be great!
    Thanks everyone!

    I thought about AdjustObjectAIColors, and its a good way to get a bunch of them but I'm not 100% sure if it covers all colours or just those found in paths. If not, this would exclude colours on effects & overlays for symbols, found in kPluginArt (though there is a similar function for plugin art specifically) and I imagine text. Probably a few other types if we look hard enough. Granted, paths are probably 90% of colours :-) I also wondered (sinc I haven't tried it before) how comprehensive that method is -- does it hit all the colours in various effects & styles layered on path? Or does it just hit the standard stroke & fill? I assume not, but I don't know.

  • Listing all fonts used in a document?

       As I understand it, TextFonts is a collection of all fonts available to Illustraot.  Is there a collection of all fonts used in the open document?  Or would I have to step through every textFrame an create that list myself?

    I don't know why and how you write error log, so I only add a single alert after all. "xmpString" and "XMP library" are two different methods, you only need one of 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!');

  • I want every email I send through gmail to be written in Verdana font, but NOT to view all pages in that font.

    Every time myself or my colleague sends an email through our google apps account we have to change the font to verdana. we can't seem to find ANY way (neither in the gmail settings nor in the firefox settings) to change it so that all of our outgoing messages are written in Verdana.
    I went to firefox preferences and found the font settings and changed them all to verdana and UN-checked "allow pages to select their own fonts", however, then ALL fonts were changed to verdana, including our signature at the bottom of each email (which we don't want in verdana) and also all of the gmail pages appear in verdana as well. We just want our outgoing messages (except fro the signature at the bottom) to be in Verdana, and I can't figure out how to do it.
    Also, when in the Firefox Preferences / Content / Fonts & Colors, I'm not really sure what each part means. For example, what does "default font" refer to??? Visualization of web pages will be in that font? or writing that I myself do? Also, then once entering into Advanced, I'm not sure what each scroll-down menu refers to: Proportional, Serif, Sans-serif, and Monospace?? Which one of those should I make Verdana? And, what should the rest be if I just want to "normal" (default?) settings.
    Please help. Thank you very much.

    >>So I guess even the computer geniuses cant work out
    my problem
    Guess as you wish but you are wrong. Centering a site is
    reasonably
    simple... if you are willing to deal with code. There is no
    "Center Site"
    button. Design view is OK but extremely limited. If you are
    willing to
    settle for those limitations, and obviously you are not, you
    will be fine.
    Clearly this approach is not acceptable so you have to move
    to the next
    level -> An understanding of HTML & CSS and most
    importantly, how they
    interact. I could give you the code but your next question
    would be, "Where
    do I put it?".
    >>I thought you guys would be up for a challenge.
    We are. Are you?
    >>Or will I have to start from scratch again?
    That is the only way but only if you can figure out how your
    code got so
    badly mangled. Otherwise, you are likely to arrive at the
    same result.
    Please trust me when I say if you had build that entire page
    from DW's
    design view and never touched the code it is impossible for
    the page code to
    be what it is. If the page was actually build in DW design
    view someone
    subsequently took a hatchet to the code DW produces.
    Walt
    "mattyjones80" <[email protected]> wrote in
    message
    news:gr3lsv$s0o$[email protected]..
    >I built the entire site with dreamweaver. I used CS3 for
    all my images.
    >Some of
    > my borders were designed with CS3 so maybe thats why it
    seems not normal.
    > This
    > is my first site I have built. I learnt how to do it
    through lynda.com
    > tutorials. So maybe they are teaching me incorrectly. It
    seems to work ok
    > thou
    > am I right? So I guess even the computer geniuses cant
    work out my
    > problem. I
    > thought you guys would be up for a challenge. So is my
    site a lost cause
    > or can
    > I fix it. Or will I have to start from scratch again?
    >

  • Unable to view all documents that have no checked in version due to exceeding the library threshold limit

     due to exceeding the library threshold limit , unable to view all documents that have no checked in version

    Hi niles, Here is a page that details how to retrieve all the files and take ownership of them via powershell to check them in:
    http://www.demantprasad.com/2013/05/manage-files-which-have-no-checked-in.html
    Mathieu Desmarais http://www.matdesmarais.com/

  • IPhone doesn't render all fonts embedded on PDF documents

    The PDF reader in the iPhone does not render all fonts. When viewing attachments or PDFs posted on a website some text fields just don't show up, but they do when viewed in Preview or Acrobat Reader.
    I have not seen discussions about this so I just want to make sure that the Software developers at Apple are aware of the problem.
    This is a big issue for my profession (Graphic Design/Advertising).

    I have not seen discussions about this so I just want to make sure that the Software developers at Apple are aware of the problem.
    This isn't the place to make sure of this but this is.
    http://www.apple.com/feedback/iphone.html

  • View all missing fonts and FontStyles

    Hi everyone!
    I have a problem with non-existing fonts in the document.
    Here is the code that should display all the non-existent fonts. Not working
    var usedFonts = app.activeDocument.fonts;
    for (var i=0; i<usedFonts.length; i++) {
         if(usedFonts[i].status != FontStatus.INSTALLED){
             alert ("Not Instaled => " + usedFonts[i].fontFamily + " | " + usedFonts[i].fontStyleName);
    Here is the code that works.
    var usedFonts = app.activeDocument.fonts;
    for (var i=0; i<usedFonts.length; i++) {
         if(usedFonts[i].status != FontStatus.INSTALLED){
             alert ("Not Instaled => " + usedFonts[i].fontFamily);
    But I also want to the font style of output. How do I do?
    Thanks in advance ...

    I guess you can't get the fontStyleName property for a non-existing font. You can however use the name property which will give you both family and style separated by a tab. Then you can use for example the code below to get your desired output:
    usedFonts[i].name.replace("\t", " | ")

  • Is there a way to adjust the settings on launchpad so that when I swipe into it all the open apps/pages are fully separated (like in exposé) so that I can fully view all of them simultaneously?

    Hi Apple community,
    This is my first go at this so be kind,
    My question concerns launchpad. Coming from Snow Leopard I had been using spaces. I like to keep certain bundles of programs on separate desktops, for example all word processing related tasks in one place. I have set up the equivalent on Yosemite.
    My problem is concerns the loss of exposé. Now I know when you swipe into launch pad you get a very similar effect but the issue I am having concerns the "zoom out" effect when you swipe into launchpad. With exposé all open apps/pages etc would be fully exposed - in my case several (sometimes as many as 9 word documents). What I am running into is when I do this in / into launch pad the "pile" of docs is exposed but they are still overlapping so I can't get a good look at which is which and visually identify where I want to navigate to.
    My question is this; Is there a way to adjust the settings on launchpad so that when I swipe into it all the open apps/pages are fully separated (like in exposé) so that I can fully view all of them simultaneously? If so, instructions on how to do so would be greatly appreciated. Any alternative suggestions to doing this outside of launchpad are also welcome. If there is an exposé app for example, I would be quite willing to go that route.
    My main concern is being able to quickly (ie a touchpad gesture) expand all the open pages so I can bounce between them.
    Much thanks from a loyal Apple friend.

    Hey Eric,
    Thanks for taking the time. Unfortunately no that does not solve it. Same as swipe it will get me there and it will show separate programs spaced out. The issue I am having is that all my open word files are bunched up in a pile on top of each other. I can see the edges of each one but I want them to be separated from each other enough that I can visually identify what file is what.
    Again, thanks for trying, it is appreciated.

  • How to view all the metalink notes in a single window?

    Friends,
    I have metalink access...i want to view all the metalink notes in a single shot.
    now i am searching the metalink notes by entering the artical id...is there any way to get all the documents in one shot ...
    like how we are seeing the forum threads here...
    thanks

    Do you also as a librarian for an overview of all the books? :-)
    Have you any idea how much information, knowledge, bug-reports, questions, patch-lists, documentation etc..etc. is on Metalink?
    That would give you a list of millions of rows. And how do you want them sorted, by version, by OS, by what??
    FJFranken

  • View ALL upcoming alerts and reminders?

    is there a function within iCal to view all upcoming alerts and reminders, in one single page to know your upcoming deadlines for the week or month or day?

    yes you can.
    go to PRINT.
    under View -> select "list"
    make sure that you have set the TIME RANGE correctly. the default is the current date and it ends 1 day later, i.e. it only displays that date's reminders.
    click the "up" arrows to increase the no. of days AFTER the current date, and you will find the preview displaying the following dates as you click.
    u can even ZOOM to view the events themselves, and select the font sizes as well.

  • We are unable to open a Pages 5.0.1 document in Pages 4.2 and retain ability to edit all aspects of the document. I have tried saving the 5.0.1 version as Pages '09 and am still unable to open it in the earlier version of pages. Help?

    We are unable to open a Pages 5.0.1 document in Pages 4.2 and retain ability to edit all aspects of the document. I have tried saving the 5.0.1 version in Pages '09 but am still unable to open it in the earlier version of pages. Help?

    No, it isn't. Pages 5 isn't compatible with Pages 4.3 as it is lacking more than 90 features that Pages 4 has. So when you open a Pages 4 document in Pages 5 only the simplest documents will look the same in Pages 5.
    Pages 4 can't open Pages 5 documents at all!! You have to export back to Pages 09 as I said above.
    You probably will be more happy if you just use Pages 4 (Pages 09). There are many threads in this forum that describes the lack of compatibility between the two versions. Pages 5 is in my view not Pages anymore.
    If you don't desperately need Pages 5 for moving documents over iCloud to new iOs devices don't use it.

  • How do you view all open images without opening each tab?

    I have been using CS2 for ages, and recently switched over to a recent version of Photoshop. I'm using a mac. In CS2 I was able to drag my mouse to a corner of the screen and view all open files. Can I still do this somehow? Or do I have to open each tab to see the image? I'm looking for a quick way to view thumbs of all my images. Please help!

    If you dislike tabs turn off
    Photoshop > Preferences > Interface > Open Documents as Tabs
    Photoshop > Preferences > Interface > Enable Floating Document Window Docking
    And maybe try
    Window > Arrange > Tile

  • Image instead of List Name, and hyperlink the image to view 'All Items.aspx' page

    Hi,
    I would like remove the Page title for list (i.e., name of the list in view all items.aspx page) , and instead use image and hyperlink the image
    to 'All items.aspx" page.
    Using developer tool found the element (#PageTitle) and added 'Script Editor' webpart and below css script to it. I am successful in replace the
    title to image, however, I am unable to add the HTML tag for hyperlink. Where do I need to add or how do I add? Could anyone help me please??
    <style type="text/css">
    #pageTitle
    background-image: url('http://w2k81368:2116/SiteAssets/Test.jpg');
    background-repeat:no-repeat;
    text-indent: 100%;
    white-space: nowrap;
    </style>
    Regards,
    Sunitha

    Hi Sunitha,
    According to your description, my understanding is that you want to change the list title to an image.
    I recommend to add the code below to the list page:
    <script src="http://code.jquery.com/jquery-1.10.2.min.js" type="text/javascript"></script><script type="text/javascript">
    $(document).ready(function (){
    var s = "<img alt='SP' src='http://w2k81368:2116/SiteAssets/Test.jpg'>";
    var $t = $("#DeltaPlaceHolderPageTitleInTitleArea span span a");
    $t.html(s);
    </script>
    After that, the list title will change to the image and it will show allitems.aspx page when clicking the image.
    Thanks,
    Victoria
    Forum Support
    Please remember to mark the replies as answers if they help and unmark them if they provide no help. If you have feedback for TechNet Subscriber Support, contact
    [email protected]
    Victoria Xia
    TechNet Community Support

  • How to view all files in subfolders?

    I have a folder (call it folder A) and inside that about 60 subfolders with 5-50 files in each. Is there anyway I can view all the files in Folder A in the 'flat' ie in one window so I can sort them by creation date, modification etc (obviously, I want to do this without actually moving the files)

    ????? ???1 wrote:
    Thanks! What I really want is creation date
    OK, use this:
    cd ~/Desktop; ls -RU -alF | open -f
    This lists the creation date rather than the mod' date.
    Here you have to replace Desktop with A (or whatever); keep everything else the same, assuming the folder is sitting in your home directory and isn't a child of some other folder in your home directory (if it is a child of some other folder, see the last two examples below).
    NOTES
    If the folder you want to search has a space in the name, you're going to need to add an escape character - that's a backslash \ - before the space:
    e.g.,
    Suppose the folder you want to search is in your home directory and is called "My Docs", you'd use
    cd ~/My\ Docs; ls -RU -alF | open -f
    Whereas if the folder was just called "MyDocs", you'd just use
    cd ~/MyDocs; ls -RU -alF | open -f
    Suppose My Docs is inside your Documents folder, use
    cd ~/Documents/My\ Docs; ls -RU -alF | open -f
    Suppose My Docs is inside Work which is inside Documents, use
    cd ~/Documents/Work/My\ Docs; ls -RU -alF | open -f

Maybe you are looking for

  • Error while creating Virutual Cube

    Hi all, I am trying to create a virtual cube for FI-GL module. i took a  copy of the standard function module 'RS_BCT_FIGL_DATA_GET_VC1'in se37  transaction. And changed the default info cube name in 'import' parameter of the function module. when I

  • Issue in the GUI editor in jdeveloper 11.1.2

    Hi guys: I just following the tutorial which is used to teach me [http://download.oracle.com/docs/cd/E18941_01/tutorials/jdtut_11r2_2/jdtut_11r2_2.html], but at the step3, when I want try to add a button in the panel, it is not working. It means the

  • Error when loading customer's applicatio​n build script

    I'm updating a program for a customer to include a module that we have developed. We're required to use an application builder script because of the way the VIs work. Anyways, when I attempt to load the build script for the LabView 6.1 application, e

  • Some files are not visible on external drive

    i have recently upgraded my laptop to Mac osx mountain lion, and inorder to have write access to NTFS drives i use paragon NTFS for Mac software which was working well with OSX Lion. After i have installed OSX mountain lion i can only see the files w

  • Best way to connect CF10 DB Connection to FoxPro?

    In previous versions of CF this was a pain. Now in CF10 it seems even more so. I need to connect to a Microsoft Visual Fox Pro database from ColdFusion 10 running on Windows Server 2008 R2 64 bit edition. Can someone point me to a tutorial on how to