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

Using font pod: Replacement of missing fonts in multiple files at once possible?

Community Beginner ,
Mar 21, 2018 Mar 21, 2018

Copy link to clipboard

Copied

Is there any way (or available scipt) to select multiple occurrences of the same missing font displayed in the font pod at once for replacement? The font pod only seems to offer selection of one font for replacement at a time, but selection of multiple entries of the same font in the list would be a great help.

I have multiple files with the same set of missing fonts that need to be replaced permanently. Since the font pod already shows a neat list of the missing fonts for all open files: Is there any way to select multiple occurrences of the same missing font and replace it with the same font at once?

It takes hours to do this for each file and each font, and changing and importing formats or using "update all" is not an option.

It's unstructured FM, and I would be able to use FM12 to FM2017 to work with.

Thanks for any helpful suggestions.

Views

1.0K

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

correct answers 1 Correct answer

Adobe Employee , Mar 21, 2018 Mar 21, 2018

In addition to Barb's Find/Change approach: There is a "hidden" feature in FrameMaker which is not very well known. The keyword here is "maker.ini".

Open the maker.ini in the FrameMaker installation folder in a plain text editor. You will need to run the editor with Admin rights to save the file (Notepad++ e.g. automatically detects this).

Search in the maker.ini for section [UnknownToKnownFontMap]

This section is for mapping unavailable fonts to available fonts when opening a document.

The pattern

...

Votes

Translate

Translate
Community Expert ,
Mar 21, 2018 Mar 21, 2018

Copy link to clipboard

Copied

Hi Mia:

Can you further describe your specific scenario? Why can't you update the paragraph and character tag definitions in a single file, and import the updated tags into the other files?

~Barb

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 Beginner ,
Mar 21, 2018 Mar 21, 2018

Copy link to clipboard

Copied

Hi Barb,

The files have been created using a template, but apparently the author took some liberties with the original format definitions and changed them with overrrides or alterations. It would be too risky to import formats and override changes. No time to check every file for possible changes.

I need to replace some of the fonts used with Arial, some of the current fonts do not support the target language after translation. It's part of a large amount of the same kind of manuals, and I need to find a way to reduce the time I have to spend on them by finding ways of batch processing tasks.

When I open all files I can see all missing fonts in the font pod (viewing missing fonts for all open documents). Since there are about a hundred entries of exactly the same missing font that needs to be replaced with Arial I would like to be able to select them all at once and replace them in one step.

But apparently I need to select each of them seperately and replace every single entry, and that takes a lot of time.

What I am basically looking for is batch font replacement troughout a book instead of a single file.

Does this clarify the specifics of the question?

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 ,
Mar 21, 2018 Mar 21, 2018

Copy link to clipboard

Copied

Just tossing this out there - what about a save as MIF & use a find and replace tool for the offending fonts in the text, then open them back up in FM?

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 Beginner ,
Mar 21, 2018 Mar 21, 2018

Copy link to clipboard

Copied

Thanks Jeff,

Certainly a good idea for a one-time-work around, I did that with the combined font family definition (chinese font name showing as corrupted characters and causing problems with master and reference pages).

But using the same procedure for each and every format-definition sequence would probably take up the same amount of time as replacing them in the font pod. And I wouldn't want to risk the danger of mistakes.

I take it there's no 'official' script or key combination that would allow for a batch replacement?

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 ,
Mar 21, 2018 Mar 21, 2018

Copy link to clipboard

Copied

You can always shoot a message over to a script guru like Rick Quattro - he may have something for this already kicking around.

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 ,
Mar 21, 2018 Mar 21, 2018

Copy link to clipboard

Copied

Yes, that makes sense, Mia. Overrides is what I was expecting to hear, and sure enough, that's the issue. I drill "no overrides" in my Fm classes, but not everyone attends training classes and then this nightmare ensues. Preaching to the choir, I know.

I don't like offering this answer because it is compounding the overrides issue, but... you can use Find/Change for all the files in a book.

  1. Edit > Find/Change
  2. Find: Character Format
  3. Shift+F8 to set the Window to As Is
  4. Pick the old font, Set
    Screenshot 2018-03-21 08.11.26.png
  5. Change: To Character Format
  6. Shift+F8 to set the Window to As Is
  7. Choose Arial, Set
    Screenshot 2018-03-21 08.12.44.png
  8. Pick Look in: Book, Change All

Now, in addition to adding to the overrides in your files, remember that if all the book files are open when you do this, if it causes some new issue, you can just close the files without saving. If any of the book files are closed, they will be changed permanently. So, try this on a copy of your book, or open all the files in a book, if you can.

~Barb

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 Beginner ,
Mar 21, 2018 Mar 21, 2018

Copy link to clipboard

Copied

Thank you Barb for taking the time to write this. I know I could use this, but unfortunately search and replace does lead to problems. Maybe because the format's names are Chinese.

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
Adobe Employee ,
Mar 21, 2018 Mar 21, 2018

Copy link to clipboard

Copied

In addition to Barb's Find/Change approach: There is a "hidden" feature in FrameMaker which is not very well known. The keyword here is "maker.ini".

Open the maker.ini in the FrameMaker installation folder in a plain text editor. You will need to run the editor with Admin rights to save the file (Notepad++ e.g. automatically detects this).

Search in the maker.ini for section [UnknownToKnownFontMap]

This section is for mapping unavailable fonts to available fonts when opening a document.

The pattern is:

Unavailable Font Name, Angle, Weight, Variation = Available Font Name, Angle, Weight, Variation

Instead of Angle, Weight, and Variation, you can also use * for a more generic replacement. However, being explicit is more save.

Examples:

Lumina,*,*,*=Helvetica, *, *, *

Helvetica,*,Light,*=Helvetica,*,Regular,*

Helvetica,*,*,UltraCompressed=Helvetica, *, *, Narrow

Helvetica, Oblique, *, *=Arial, Italic, *, *

In your case it could be:

UnavailableFontName1,*,*,*=Arial,*,*,*

UnavailableFontName2,*,*,*=Arial,*,*,*

UnavailableFontName3,*,*,*=Arial,*,*,*

Restart FM after the change and then open your document. The missing fonts will be automatically replaced with Arial.

If it works in the way you want it, go to > Edit > Preferences > General and turn off "Remember Missing Font Names". OPen the files, let FM auto-replace/auto-map the fonts and then just save and close the file. After re-opening the files, the fonts should be replaced.

As always: Backup your files first before doing any such changes 🙂

Note: This only works, if the fonts you want to replace are actually missing on your system. It does NOT work for installed 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 Beginner ,
Mar 21, 2018 Mar 21, 2018

Copy link to clipboard

Copied

Thank you Stefan!

This is the kind of thing I was looking for. Great help, thank you, I'll try this and hope it works.

Das ist einer der Gründe, warum ich dich so vermiss hier

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
Adobe Employee ,
Mar 21, 2018 Mar 21, 2018

Copy link to clipboard

Copied

Bin ja nicht aus der Welt und helfe immer gerne 🙂

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 Beginner ,
Mar 21, 2018 Mar 21, 2018

Copy link to clipboard

Copied

Feedback: I just tried it, it works fine. Thanks again!

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
Advocate ,
Mar 21, 2018 Mar 21, 2018

Copy link to clipboard

Copied

Forgive me if I am incorrect on this, and just misunderstanding the

question, but I'm wondering if maybe you misunderstand how the Replace

Font pod works. How many fonts, listed in the Fonts pod, do you need to

replace? In the Replace Font pod, are you trying to click on each

Location where a font is listed as used and change it individually, or

just entering the new font in Replace With to them all in one pass?

If you want to replace fonts in multiple documents, open them. Then, in

the Fonts tab, choose "Select: All open docs." To replace fonts, simply

click on the font you want to replace in the Fonts pod. (Sadly, FM does

not seem to allow selecting multiple at once, but how many can there

be?) Then open the Replace Font tab, select the new font family that you

want in Replace With. Then click Apply. It will fix all the font

instances listed in the window below, all at once.

Anyway, I'm probably not telling you something you don't already know.

I'm just having trouble envisioning having so many fonts needing

replacement that it would take hours to follow the above steps, and

wondered if maybe you thought you had to change each instance listed in

Location individually.

If you do have so many fonts that it would take hours to replace them,

maybe it would be easier to go into maker.ini, in the

section, and specify your substitutions there--

letting FrameMaker do them all when you load the documents. I can't

remember, but you might need to turn off Remember Missing Font Names in

Preferences to make the changes stick when you save.

Example:

Chicago, *, *, *=Arial, *, *, *

Geneva, *, *, *=Arial, *, *, *

NewYork, *, *, *=Arial, *, *, *

Monaco, *, *, *=Arial, *, *, *

Mike Wickham

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 Beginner ,
Mar 21, 2018 Mar 21, 2018

Copy link to clipboard

Copied

https://forums.adobe.com/people/Mike+Wickham  schrieb

(Sadly, FM does

not seem to allow selecting multiple at once, but how many can there

be?)

This exactly was the problem. But Stefan suggested a solution (actually the same you mentioned).

Thank you. How many? Files... legion

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
Explorer ,
Mar 26, 2018 Mar 26, 2018

Copy link to clipboard

Copied

OMG where has this solution been all these years? Are there any lists/guides to other useful maker.ini tweaks?

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
Advocate ,
Mar 26, 2018 Mar 26, 2018

Copy link to clipboard

Copied

LATEST

You might want to check out the excellent resource on makeri.ini on

Klaus Daube's website:

http://www.daube.ch/docu/fmaker65.html

Mike Wickham

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