Report: Font Usage
ReportFontUsage.fsi
Problem description
If fonts which are not installed on the system are used in a document, FrameMaker lists these fonts in the console but does not offer an option to find out where these are precisely used.
The search for fonts in the documents (via search function) only finds fonts from the respectively active page type (e.g. body pages). Moreover, font information can still be ‘hidden’ in different formats and other objects that cannot be easily determined.
Function description
The script lists the fonts used, grouped by object type. Font styles (e.g. Bold, Italic) are not taken into account by the script.
First, all scripts are listed that are located in paragraph or character formats.
In the following, fonts are listed which are used on body, master and reference pages but are not located in the formats.
FrameMaker also stores fonts in table formats even if the paragraphs show different fonts than the paragraph formats.
In addition, table format titles can also be assigned old or default fonts as well although the titles are not (or no longer) displayed at all or their paragraph formats are not (or no longer) located in the catalog.
Searching and replacing fonts
- If the missing fonts shown in the console are knowingly not used or if the replacement fonts used are to be permanently stored, the easiest way to do this is to temporarily deactivate ‘File > Settings > General | Save names of missing fonts’, then restart FrameMaker, open the documents and save. Then reactivate the setting and restart FrameMaker once more.
- To only determine the fonts used on body pages, a list from FrameMaker can be created (Special/Insert > Index Of > References | Fonts).
- The most effective method to replace fonts is still, however, by replacing with a powerful text editor or search & replace tool in MIF files. A certain amount of knowledge of the MIF format is necessary.
Requirements
- FrameMaker 6.0 or higher
- FrameScript/ElmScript 4.1 or higher
Notes
The script works with structured and unstructured documents.
The report is saved in the document folder (‘_[i]_FontUsage.fm’).



Klaus Müller![[i]-frame Report Font Usage](fileadmin/content/images/Leistungen/FrameScript/i-frame_en/ReportFontUsage1.png)
![[i]-frame Report Font Usage](fileadmin/content/images/Leistungen/FrameScript/i-frame_en/ReportFontUsage2.png)
![[i]-frame Report Font Usage](fileadmin/content/images/Leistungen/FrameScript/i-frame_en/ReportFontUsage3.png)
![[i]-frame Report Font Usage](fileadmin/content/images/Leistungen/FrameScript/i-frame_en/ReportFontUsage4.png)