5

I would like to list font names used inside an Adobe Illustrator (CS4 or CS5 I don't remember) file, on my Fedora linux desktop.

Is it possible ? I tried to open it with Inkscape but I fail to see where the information is.

2 Answers 2

9

You can change the suffix of an .ai file to .txt then open it in any text editor.

Within the text file there are declarations for fonts:

<stFnt:fontName>SuperCoolFontNamedHere</stFnt:fontName>

I can't speak for Fedora specifically, but surely there's a method to search text files.

5
  • 3
    file extension is meaningless on linux for most part. PS you can also do this with ghostscript but yeah grep or sed will do.
    – joojaa
    Feb 2, 2015 at 19:22
  • Yep, opening the file with kwrite and such does the trick, no need to change the extension though.
    – B2F
    Feb 2, 2015 at 21:17
  • Yeah, no experience with Linux here. On the Mac, you have to change the extension for some text applications so they don't just show the PDF part of the file (Like BBEdit).
    – Scott
    Feb 2, 2015 at 21:23
  • 3
    So if one runs sed -n -e '/<stFnt\:fontName>/ s/.*<stFnt\:fontName>\(.*\)<\/.*/\1/p' file.ai you get a nice font listing. Now im off to list all the fonts Ive ever used in ai files.
    – joojaa
    Feb 4, 2015 at 18:40
  • I'm just facing an '.ai' file which supposedly contains text, but no stFnt tags whatsoever. Instead it looks like it contains a PDF, perhaps because it has been created in PDF compatibility mode.
    – bluenote10
    Jun 23, 2021 at 13:43
0

Here is a list of fonts that come with Illustrator CS4

http://www.adobe.com/type/browser/fontinstall/cs4installedfonts.html#Standard_Install_Set

Here is a list of windows system fonts

http://en.wikipedia.org/wiki/List_of_typefaces_included_with_Microsoft_Windows

1
  • 2
    I don't really think this is what's being asked. I read the question and it seems to me B2F wants to know the fonts used within a specific AI file.
    – Scott
    Feb 2, 2015 at 19:14

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.