The Replace Font tool allows you to locate text with specific formatting in your content and change the formatting, if desired. Only text in web pages and topics is included in font replacement. 


You can start this tool from the Library or the Outline Editor only. From the Library, you must have at least one document selected or the tool is disabled. If nothing is selected in the Outline Editor, the entire outline is searched; this is equivalent to selecting the root of the outline.


In the Replace Font dialog box, you can specify the properties of both the search and replacement fonts. These properties include font family (such as Arial or Verdana), font size (in points), and font style (bold, italic, underline). In the Font field, you can type a font name or select from a list of all installed system fonts. In the Size field, you can type a value (in points) or select from a predefined list ranging from 8 to 72 pt. You can enter smaller and larger sizes if needed, but only integer values are allowed. In the Style field, you can select from a list of predefined options only.


Note: Font replacement does not include font color, paragraph justification, or bulleted/numbered list styles.


If you do not specify any of these properties, that property is ignored in the search and/or replacement. For example, if you set the Find what options to Arial, blank, and Bold, respectively, the Developer will search the selected content for bold Arial text of all sizes. Similarly, if you set the Replace with options to blank, 10, and blank, respectively, the Developer will change the size of the located text to 10 pt, but will leave the font family and style unchanged.


By default, the selection and its related documents are searched. Clicking the View related documents link displays a list of the related documents. For this process, related documents are defined as all searchable documents that are directly or indirectly linked as children of the selection. For example, if you select a section that has topics and each of the topics has a web page linked as its concept, choosing to search related documents searches the section, the topics, and the web pages linked to the topics. Templates and package contents are not included in this operation. If you want to search only the selected item(s), you can deselect the Include related documents option in the Replace Font dialog box.


To further define a search, you specify the type(s) of text to include in font replacement. In topics, you can apply font replacement to bubble text, Introduction/End frame text, string input text, and/or template text. You can also apply font replacement to web page text. You must select at least one type of text to include before you can start the font replacement process.


During font replacement, the Developer searches the specified type(s) of text in the topics and/or web pages included in the selection and replaces all occurrences of the search font with the replacement font. Font replacement is completed automatically for the entire selection, and you are not prompted to confirm each replacement.


Warning! Use font replacement with caution. You cannot undo any fonts replaced using this tool.


 Multi-user Considerations

To replace a font in your content:

  1. From the Library or Outline Editor, select one or more documents or folders containing the documents in which you want to replace a font.
     
    You can select multiple documents using the standard Windows selection keys (CTRL+click and SHIFT+click).
     
  2. On the Edit menu, choose Replace Font.
     
  3. In the Find what row, select the font family, font size, and/or font style you want to replace.
     
  4. In the Replace with row, select the font family, font size, and/or font style with which you want to replace the search font.
     
  5. In the Apply to field, select the text to which the font replacement should be applied.
     
    You can replace fonts in topic bubble text, Introduction/End frame text, string input text, template text, and/or web page text.
     
  6. Click OK.
     
    If you are working in the Outline Editor, a Replace Confirmation message appears indicating that you cannot undo changes made during font replacement. Click Yes to continue or No to cancel the font replacement process.
     
    The Developer searches the topics and/or web pages included in the selection and replaces every occurrence of the search font with the specified replacement font.
     
  7. Click OK when notified that the font replacement is completed or that the font cannot be found in the selected content.
     
    If one or more replacements were made, you can also click the View activity log link to see a list of documents in which replacements were made and the number of replacements in each document.
     
  8. When you are done replacing fonts, click Close.

Table of Contents