Copy link to clipboard
Copied
Platform and version: Windows 10, InDesign CC 2018
I have a book whose files were in a previous design. I'm updating the design. I know some old definitions (styles and their fonts) are hiding in some of the files. I'd like to get a list, chapter-by-chapter, of all the styles and fonts used in each document so I can clean up the files.
Is that possible? And if so, how?
I found the Font Reporter script which claims to list all the fonts used in an ID file, but since the script hasn't been updated since 2011, I doubt it is compatible with the latest ID. (So I'm not going to try it. I have enough problems with ID crashing on older files without any scripts installed. I don't want to give ID any excuses to do it even more.)
Thanks in advance for your help.
Copy link to clipboard
Copied
Hi Marina,
be brave! Try the Font Reporter script first. If in doubt use it on a duplicated inDesign document.
If it is throwing any errors or if you see that not all fonts are listed come back and report the issues.
Best,
Uwe
Copy link to clipboard
Copied
Since Font Reporter seems to have disappeared from the original source, does anybody knows if it can be found somewhere else?
Paolo
Copy link to clipboard
Copied
Hi!
File - package - fonts
Copy link to clipboard
Copied
Hi @Paolo T , This Javascript would display a list of document fonts:
var df = app.activeDocument.fonts.everyItem().name;
alert('Document Fonts: \r' + df.toString().replace(/,/g, '\r'))
Sample result:
Copy link to clipboard
Copied
This would write the font list to a text file on the Desktop:
var df = app.activeDocument.fonts.everyItem().name;
writeText(Folder.desktop + "/" + app.activeDocument.name + "_fontlist.txt", 'Document Fonts: \r' + df.toString().replace(/,/g, '\r'))
/**
* Write a text file
* @ param the file path
* @ param the text
*/
function writeText(p,s){
var file = new File(p);
file.encoding = 'UTF-8';
file.open('w');
file.write(s);
file.close();
}