How can I get a list of all fonts used in an Adobe Illustrator file? Is there a document properties / list of fonts tab that I can access to show all fonts used in an .ai
file?
5 Answers
Maybe try to go to Type > Find Font
.
-
Specifically in CS6, Type, Find Font and from there you can save the list to a text file.– pdwalkerCommented Apr 30, 2014 at 2:44
-
Another quick little tip if you want to know the font sizes used throughout a document:
Select -> Object -> All Text Objects
, then open theCSS Properties
pane and clickGenerate CSS
. That will give you more than you need and possibly dupes, but you can use your wits and get a concise list from there.– cfxCommented Jan 29, 2019 at 18:00
If you are using Illustrator CS6 from Creative Cloud (i.e., Illustrator 6.1), you can go to File -> Package...
. Deselect everything except "Create Report". The report will list all fonts used in the document.
(This feature will be part of the packaged software in the next major release.)
If you are using Illustrator CC, then you can use the builtin 'Package' feature to collect all fonts used in your Illustrator document. If you are using Illustrator CS5 /6, then you can try a third-party Illustrator plugin: Illustrator Art Packer
The Document Info palette will list all the fonts used.
-
This is good, but could use a little expansion, how do we get to the document info palette?– DavidCommented Jan 30, 2014 at 15:38
Just posting this in case anyone comes across this later and wants to do this via an automated method - ie, scripted.
Here's a way to do it with Applescript, which just has a Javascript embedded you could extract to do it in Javascript:
on ai_get_document_fonts()
tell application "Adobe Illustrator"
activate
try
set documentFontString to (do javascript "var xmlString = new XML(activeDocument.XMPString);
fontsInfo = xmlString.descendants(\"stFnt:fontName\");
var ln = fontsInfo.length(), arr = [];
for (var i = 0; i<ln; i++){arr.push(fontsInfo[i])};
arr;")
set oldDelimiters to AppleScript's text item delimiters
set AppleScript's text item delimiters to {","}
set documentFonts to text items of documentFontString
set AppleScript's text item delimiters to oldDelimiters
return documentFonts
on error errorMessage
error "ai_get_document_fonts() error:" & return & errorMessage & return & "Are no Illustrator documents open?"
end try
end tell
end ai_get_document_fonts
However, this method can show fonts that used to be in the document, but are not currently used by any live text in the document.
Here's an Applescript that searches all the text in the document and makes a list of the fonts it actually finds in use. It's possible this could miss some fonts, like legacy text objects in old documents.
tell application "Adobe Illustrator"
activate
tell the current document
set theFonts to {}
repeat with aTextFrame in text frames
repeat with aCharacter in characters of aTextFrame
set aFont to name of text font of aCharacter
if aFont is not in theFonts then set theFonts to theFonts & aFont
end repeat
end repeat
end tell
end tell
Type > Find Font
.