• Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
    Dedicated community for Japanese speakers
  • 한국 커뮤니티
    Dedicated community for Korean speakers
Exit
0

How can I list all styles and fonts used in a book's files?

Explorer ,
Jun 13, 2018 Jun 13, 2018

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.

Views

2.6K

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Jun 14, 2018 Jun 14, 2018

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

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Contributor ,
Feb 01, 2022 Feb 01, 2022

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

 

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
May 17, 2023 May 17, 2023

Copy link to clipboard

Copied

Hi!
File - package - fonts

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
May 17, 2023 May 17, 2023

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:

 

Screen Shot 8.png

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
May 17, 2023 May 17, 2023

Copy link to clipboard

Copied

LATEST

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();
}

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines