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.
Similar Messages
-
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!'); -
[JS][CS4]List fonts used in the Document
Hi to all scripting gurus,
I have this following script that returns a list of fonts used in the document:
function fontused(){ var fontscoll = document.fonts; for(var i = 0; i < fontscoll.length; i++){ var font = fontscoll[i]; alert(font.name); } }
The above is working OK my problem is that it also list the fonts used in the placed illustrator files (.eps). Is there some kind of parameter or something that i can use so that it only list the fonts used in the text?
-CharlesDCharles
Doesn't time fly?
This will give you the idea, if when you find more exceptions add them in a likewise manner.
The "if" statements check that tables, headers, etc. exists otherwise an error will be throw.
Enjoy
Trevor
P.s. I had planned on updating the script after David highlighted the problem, just didn't get round to it.
// Script to find fonts in documents which are not just in content pasted from illustrator file
// By Trevor http://forums.adobe.com/message/4807396#4807396
var myFonts="",
uniqueFonts = {}, n;
if (app.documents[0].stories.everyItem().textStyleRanges.length > 0) fontsIn (app.documents[0].stories.everyItem().textStyleRanges.everyItem().appliedFont)
if (app.documents[0].stories.everyItem().tables.length > 0) fontsIn (app.documents[0].stories.everyItem().tables.everyItem().cells.everyItem().textStyleRanges.everyItem().appliedFont)
if (app.documents[0].stories.everyItem().footnotes.length > 0) fontsIn (app.documents[0].stories.everyItem().footnotes.everyItem().textStyleRanges.everyItem().appliedFont)
for (n in uniqueFonts) myFonts+=(uniqueFonts[n])+"\r";
alert(myFonts)
function fontsIn (item)
var l = item.length;
while (l--) uniqueFonts[item[l].name] = item[l].name; -
List of Fonts used in PDF through Javascript
Hi all,
I need to get the list of fonts used in the PDF and have to change the particular font text to some color across the document using Javascript. As i searched, i didn't get any clue. Using Acrobat Professional 7.0.
Is there any idea plz. share it.
Thanks,
vaasuYou can use a plug-in.
PDFlib FontReporter is a free plug-in that creates a report of fonts used in a PDF. -
I have a MacBook Pro , Model Identifier MacBook Pro8,2 , MAC OX S 10.7.4
I noticed that if I open Final Cut Projects created on other/older models MacBook Pro Laptops or MacPro Desktops, the fonts used in the previously created FCP projects, change their font spacing! which distorts the look of the Text that was written, by oevrlapping on other things that were put & present on the screen.. Another similar probelm is that the Vector shaped used for example to highlight certain words or shapes, also change their position on the screen so that they no longer highlight exact things that we once used these vectors to highlight or outline... Anyone knows how to solve this problem please?? I made sure that the same fonts are available in the Library in both old and newer computers...
thanks in advance..You might want to take your question to the FCP forum - if you copied all fonts to your Library>Fonts folder and restarted they should be recognized by all applications. I know that this works for Adobe products, anyway.
Clinton -
This error is often caused by incorrect use of the "Strict" document type
Okay...so I have 6 errors - all the same and has to do with my document type.
I've searched the code and I am using a transitional doc type so why the errors?
http://02cada7.netsolhost.com/Stasik_Family_Website/index.htmlYeah I did that...but the cause doesn't make sense to me.
You have used the attribute named above in your document, but the document type you are using does not support that attribute for this element. This error is often caused by incorrect use of the "Strict" document type with a document that uses frames (e.g. you must use the "Transitional" document type to get the "target" attribute), or by using vendor proprietary extensions such as "marginheight" (this is usually fixed by using CSS to achieve the desired effect instead).
This error may also result if the element itself is not supported in the document type you are using, as an undefined element will have no supported attributes; in this case, see the element-undefined error message for further information.
How to fix: check the spelling and case of the element and attribute, (Remember XHTML is all lower-case) and/or check that they are both allowed in the chosen document type, and/or use CSS instead of this attribute. If you received this error when using the <embed> element to incorporate flash media in a Web page, see the FAQ item on valid flash.
I'm not using a strict document time - I am using transitional and I am not using proprietary extensions. -
Digitally Sign All Signature Fields in the Active Document
I have a script which will sign a single digital signature field by the field name.
I need to revise the script so it will sign multiple/all signature fields in the active document without having to put the field name in the script, as the field names will vary with each document.
Can anyone please advise how to modify the script to sign all fields in the active document regardless of the field name?
function myOtherTrustedFunction()
app.beginPriv();
// Get and login to security handler
var oSigHdlr = security.getHandler( "Adobe.PPKLite" );
oSigHdlr.login( "123","/c/Documents and Settings/name/Application Data/Adobe/Acrobat/10.0/Security/FirstNameLastName.pfx");
// Setup Signing Properties
var chk = this.getField("Checked");
if (chk != null) {
// Apply Signature and save back to original file
var bRtn = chk.signatureSign({oSig:oSigHdlr, bUI:false, oInfo:{password:"123"}});
app.endPriv();
Any assistance will be most appreciated.Thank you for your help, the script will now count only the signature fields which have not been signed.
I have added the second part of the script to then sign all of the blank signature fields.
The script is only signing one of the digital signature fields instead of all of the blank signature fields.
Can you please advise how I can modify the script to sign all of the blank signature fields?
var count = 0;
for (var i = 0; i < numFields; i++) {
// Get the current field object
f = getField(getNthFieldName(i));
// If it's a signature field and not already signed, increment counter
if (f.type === "signature" && !f.value) {
count++;
var myEngine = security.getHandler( "Adobe.PPKLite" );
myEngine.login( "123", c/Documents and Settings/name/Application Data/Adobe/Acrobat/10.0/Security/FirstNameLastName.pfx" );
// Sign the field
f.signatureSign( myEngine,{password: "123"}); -
What is the font used in the buttons in Titanium skin?
Hello,
I need to know what the font used for the buttons (Contents,
Index, etc) in the WebHelp Titanium (RoboHelp 6) skin. I need to
know because I want to use this skin, and also include a Print
button.
Thanks!
Jennifer BennettHi Jennifer. If you download the skin and open it in the skin
editor you'll see the font used next to the "Font" button near the
bottom r/h/ corner. You can also use the button to change the font
if you wish. -
Embed the specific barcode font directly into the PDF document
Anybody has any info about it ?
embed the specific barcode font directly into the PDF document
Oracle9i Reports Technical FAQ JUL-02 indicated that:
"Oracle9i Reports also provides the functionality of PDF font embedding to
allow you to embed the specific barcode font directly into the PDF document so
the client does not have to have the barcode-font installed in order to view
the document correctly."See to following posting:
Re: Passing complex XML to session EJB with automatic WSIF mapping
Regards
Sripathy -
What is the font used at the end of the movie trailer, Blockbuster
Can anyone tell me the name of the FONT used in the I Movie Trailer called Block Buster?
I think the opening font says ROADTRIP
Thanks so much!
ACan you attach a screenshot?
*http://en.wikipedia.org/wiki/Screenshot
*https://support.mozilla.org/kb/how-do-i-create-screenshot-my-problem
Use a compressed image type like PNG or JPG to save the screenshot.
Is this a toolbar?
*Firefox menu button > Options
*View > Toolbars (press F10 to display the hidden Menu bar)
Start Firefox in <u>[[Safe Mode|Safe Mode]]</u> to check if one of the extensions (Firefox/Tools > Add-ons > Extensions) or if hardware acceleration is causing the problem (switch to the DEFAULT theme: Firefox/Tools > Add-ons > Appearance).
*Do NOT click the Reset button on the Safe Mode start window.
*https://support.mozilla.org/kb/Safe+Mode
*https://support.mozilla.org/kb/Troubleshooting+extensions+and+themes -
Hi,
Please, Someone knows how to list all ports using SAP?
Thank you.
EnriqueHi,
please visit
https://websmp207.sap-ag.de/~form/sapnet?_FRAME=CONTAINER&_OBJECT=011000358700000208202007E
Regards
Bernd -
How to find the font and replace another font using javascript in illustrator?
Dear All,
how to find the font and replace another font using javascript [batch process] in illustrator?
i have 700 image file, it very deficult replace one by one.
regards,
.Suresh.SAsk the creator of the file for a unprotected version.
-
In iWork06/Pages2, is there a feature for generating a list of all typefaces, fonts, and sizes that have been used in the document? Such a report would be very handy when running a postscript through Distiller to generate press-ready PDF.
Thank you.
DWSorry, just realized I was in the wrong forum. Please ignore.
-
Pages report list of fonts used
I am still using iWork06/Pages2 and not able to find this feature, so:
In iWork08, is there a feature for generating a list of all typefaces, fonts, and sizes that have been used in the document? Such a report would be very handy when running a postscript through Distiller to generate press-ready PDF.
Thank you.
DWThe function is not there, but it could be done using AppleScript, if someone sits down and writes it.
-
Javascript Code to List all Signature Fields in a PDF Document
Hi everybody,
I am doing a VB.NET application that apply a digital signature in a PDF document.
My VB.NET application invoke a javascript file that signs de document. It's working very well, but I need to pass the field name to place the signature, and this is not good!
I would like to list all the signature fields existing in my PDF file, is it possible do this with Javascript? I couldn't find in the Acrobat 8 SDK documentation.
I have installed Acrobat 8 Professional in my machine.
Thank you in advance!Nobody knows?
Help me please!
I am reading something about a method called "event.target.name" that probably do what I need, but I couldn't use it. Am I in the right way? Any ideas?
Thanks!
Maybe you are looking for
-
No longer have access to data directories after installing 2008 Express
I installed SQL Server 2008 Express on a virtual 2008 R2 Server, configured with separate drives for the various data directories (database, Temp DB and Backup) I am part of an Admin group and had access to the these drives prior to the install. Afte
-
Ipod isn't showing up as a removable disk
It connects to Itunes no problem but it won't connect to my hard drive for some reason.
-
Ethernet Port On TV To Mac?
Panasonic Viera TV has an ethernet port. Connect TV by ethernet cable to G5 Airport/hub setup. Then, what? What's supposed to happen? Is TV into Mac via ethernet possible? How? Nothing in the TV user manual. Panasonic will not provide an answer. (I t
-
I have imported several mp4 movies- short ones (under 15 minutes) work with no problem. Longer ones (45 minutes) will go through the import process, but not appear in the Event screen. The event name is there, but no video, even after watching the im
-
i got a new computer aswell so itunes isnt the same...