<!DOCTYPE html
  PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">

<!--
Copyright (c) 2006 UGS Corp.

All Rights Reserved.

This software and related documentation are proprietary to UGS Corp.
-->
<html>
   <head>
      <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
      <title>Line Font File</title>
      <script language="javaScript">
        abridged="false";
        displayConditions=new Array();
      </script>
      <link type="text/css" href="../css/main_styles.css" rel="stylesheet">
   </head>
   <body class="bodydocs" onload="top.pageLoader()" bgcolor="#FFFFFF">
      <div class="title_topic2" id="xps10_pagetitle">Line Font File</div>
      <hr noshade="true">
      <p class="para_topic">Select this option to build and edit your own software line fonts to use when your part is displayed. NX supplies seven standard line fonts. They are:</p>
      <p align="center"><img align="bottom" src="graphics/fil_v04at77.gif"></p>
      <p class="para_topic">Redefine any of the NX fonts except Solid.</p>
      <table border="0">
         <tr>
            <td valign="top" align="left"><img align="left" src="../graphics/note.gif" alt="Note" title="Note"></td>
            <td valign="bottom" align="left" width="100%">
               <div class="para_note">
                  <p class="para_note_body">  Hardware fonts can not be redefined.</p>
               </div>
            </td>
         </tr>
      </table>
      <div class="title_division">Font Definition File</div>
      <p class="para_division">User-defined line fonts are saved in a font definition file, or FDF, with the default file extension of .FDF. Use a different, pre-existing FDF file by specifying its file name. When you create a new part, the NX DEFAULT FDF is used.</p>
      <div class="title_division">Creating a New Font Definition File (.fdf):</div>
      <p class="para_division">To create a new font definition file (.fdf):</p>
      <ol type="1" start="1">
         <li>
            <p class="para_item">File &rarr; Utilities &rarr; Line Fonts.</p>
         </li>
         <li>
            <p class="para_item">Specify the name of the file you want to create (in the Edit Line Font File dialog).</p>
         </li>
         <li>
            <p class="para_item">When prompted &quot;File Not Found.  Create New?&quot;  click Yes.</p>
            <p class="para_item">You are presented with a dialog to define each of the six user-definable line fonts within the .fdf.</p>
         </li>
         <li>
            <p class="para_item"> Click OK for the sixth line font.  T</p>
            <p class="para_item">The system creates an .fdf file.</p>
         </li>
      </ol>
      <div class="title_division">Using the New .fdf File in a Part</div>
      <p class="para_division">To Use the New .fdf File:</p>
      <ol type="1" start="1">
         <li>
            <p class="para_item">File &rarr; Utilities &rarr; Choose Line Fonts File.</p>
         </li>
         <li>
            <p class="para_item">Use Existing File.</p>
         </li>
         <li>
            <p class="para_item">Choose the name of the file created above.</p>
         </li>
      </ol>
      <p class="para_division">The default values for the six user-defined line fonts are built into NX;  it is not necessary to have an .fdf file to read them. When you create the new .fdf font above, the default for each line font is taken from the NX default line font for that index.</p>
      <div class="title_division">Pattern String</div>
      <p class="para_division">Entering a new pattern definition allows you to change the currently named line font pattern (i.e., dashed).</p>
      <p class="para_division">You define a new pattern by entering a string of characters (maximum of 132) in the Pattern String field. The characters in the pattern can be in any order, but there must be at least two characters in the pattern, unless a symbol is included. The string of characters can be composed of:</p>
      <ul>
         <li>
            <p class="para_item">Dashes (Not underscores)</p>
         </li>
         <li>
            <p class="para_item">Spaces</p>
         </li>
         <li>
            <p class="para_item">Symbols</p>
         </li>
         <li>
            <p class="para_item">Dots (Periods)</p>
         </li>
         <li>
            <p class="para_item">A repeat count integer followed by one regular character above to be repeated.</p>
         </li>
      </ul>
      <div class="title_division">Dashes and Spaces</div>
      <p class="para_division">The Dash and Space size are set in Preferences&rarr;Visualization&rarr;Line. Consecutive dashes or consecutive spaces represent multiple dash lengths or multiple space lengths.</p>
      <p class="para_division">The shape of dots depends on whether you are using hardware zoom and whether you are viewing hardware or software dots.</p>
      <ul>
         <li>
            <p class="para_item">Without hardware zoom, the software font dot looks like a rounded square and appears bigger in heavier line density.</p>
         </li>
         <li>
            <p class="para_item">With hardware zoom, the software fonts may look like a short dash because its width is magnified.</p>
         </li>
         <li>
            <p class="para_item">Dots in hardware fonts do not change size.</p>
         </li>
      </ul>
      <div class="title_division">Symbols</div>
      <p class="para_division">You can include a user-defined symbol in a line font definition pattern by typing the symbol name enclosed in &lt;angle brackets&gt;. When you use this line font, the symbol is displayed as part of the object display font.</p>
      <table border="0">
         <tr>
            <td valign="top" align="left"><img align="left" src="../graphics/warning.gif" alt="Warning" title="Warning"></td>
            <td valign="bottom" align="left" width="100%">
               <div class="para_warning">
                  <p class="para_warning_body"> The Line Font File function does not check for the existence of the symbol name you enter. The existence will be checked when the FDF is retrieved. If a symbol is not found, you will receive an appropriate warning message. The symbol will be displayed as a rectangle.</p>
               </div>
            </td>
         </tr>
      </table>
      <p class="para_division">Symbols are displayed in line fonts using the same display rules as for lines. The display direction of the symbols (left to right) is the same as the display direction of each line segment.</p>
      <p class="para_division">Adjacent symbols are connected at connecting points.</p>
      <p class="para_division">Symbols in a line font are not selectable or accessible for modification.</p>
      <div class="title_division">Changing Symbol Size...</div>
      <p class="para_division">If you need to change the size of a symbol, you can change the default value; however, the new size will apply to all symbols. The preferred method is to use the File&rarr;Utilities&rarr;Symbol Font, enter the name of the symbol whose size is to be modified, then specify a new Factor value. The value entered here is multiplied by the Symbol Size; the size change, however, affects only that symbol.</p>
      <div class="figure">
         <p align="center"><img align="bottom" src="graphics/fil_v04fi27.gif"></p>
      </div>
      <div class="title_figure">Line Fonts Containing Parting Line and Datum Symbols</div>
      <table border="0">
         <tr>
            <td valign="top" align="left"><img align="left" src="../graphics/warning.gif" alt="Warning" title="Warning"></td>
            <td valign="bottom" align="left" width="100%">
               <div class="para_warning">
                  <p class="para_warning_body">  Partial line fonts are not displayed. If the entire line font cannot be displayed, the dash, space, and symbol size are adjusted so that the entire line font is displayed. This means that the Dash, Space, and Symbol Size values may not always be accurate.</p>
               </div>
            </td>
         </tr>
      </table>
      <p class="para_division">If the input pattern string is unacceptable, the system will display an error message.</p>
      <div class="title_division">Force Software Font</div>
      <p class="para_division">This option allows you to require that line fonts be displayed as software fonts even if Line Font Display under Preferences&rarr;Visualization&rarr;Line is set to Hardware. This allows you to use hardware fonts (which are displayed faster) except when user-defined line fonts are present.</p>
      <p class="para_division">The display of the line font depends on whether the current display mode is Software Font or Hardware Font. The following table shows whether the software font or the hardware font is used depending on whether you set this option to ON or OFF and whether Line Font Display is set to Hardware or Software.</p>
      <table cellspacing="3" align="center">
         <tr>
            <td bgcolor="#c0c0c0" colspan="1" rowspan="1" valign="top">
               <p class="para_td">Force Software Switch</p>
            </td>
            <td bgcolor="#c0c0c0" colspan="1" rowspan="1" valign="top">
               <p class="para_td">Preferences-&rarr;Display Set to Software Fonts</p>
            </td>
            <td bgcolor="#c0c0c0" colspan="1" rowspan="1" valign="top">
               <p class="para_td">Preferences-&rarr;Display Set to Hardware Fonts</p>
            </td>
         </tr>
         <tr>
            <td bgcolor="#f4f4f4" colspan="1" rowspan="1" valign="top">
               <p class="para_td">ON</p>
            </td>
            <td bgcolor="#f4f4f4" colspan="1" rowspan="1" valign="top">
               <p class="para_td">System uses</p>
               <p class="para_td">Software Font</p>
            </td>
            <td bgcolor="#f4f4f4" colspan="1" rowspan="1" valign="top">
               <p class="para_td">System uses</p>
               <p class="para_td">Software Font</p>
            </td>
         </tr>
         <tr>
            <td bgcolor="#f4f4f4" colspan="1" rowspan="1" valign="top">
               <p class="para_td">OFF</p>
            </td>
            <td bgcolor="#f4f4f4" colspan="1" rowspan="1" valign="top">
               <p class="para_td">System uses</p>
               <p class="para_td">Software Font</p>
            </td>
            <td bgcolor="#f4f4f4" colspan="1" rowspan="1" valign="top">
               <p class="para_td">System uses</p>
               <p class="para_td">Hardware Font</p>
            </td>
         </tr>
      </table><br><div class="title_division">Software verses Hardware Fonts</div>
      <p class="para_division">The difference between software fonts and hardware fonts are summarized in the following table:</p>
      <table cellspacing="3" align="center">
         <tr>
            <td bgcolor="#c0c0c0" colspan="1" rowspan="1" valign="top">
               <p class="para_td">SOFTWARE FONTS</p>
            </td>
            <td bgcolor="#c0c0c0" colspan="1" rowspan="1" valign="top">
               <p class="para_td">HARDWARE FONTS</p>
            </td>
         </tr>
         <tr>
            <td bgcolor="#f4f4f4" colspan="1" rowspan="1" valign="top">
               <p class="para_td">Used on CRT and can be plotted</p>
            </td>
            <td bgcolor="#f4f4f4" colspan="1" rowspan="1" valign="top">
               <p class="para_td">Used on CRT only</p>
            </td>
         </tr>
         <tr>
            <td bgcolor="#f4f4f4" colspan="1" rowspan="1" valign="top">
               <p class="para_td">Hardware independent display</p>
            </td>
            <td bgcolor="#f4f4f4" colspan="1" rowspan="1" valign="top">
               <p class="para_td">Hardware dependent display</p>
            </td>
         </tr>
         <tr>
            <td bgcolor="#f4f4f4" colspan="1" rowspan="1" valign="top">
               <p class="para_td">Uses part measurement unit.</p>
               <p class="para_td">The pattern size depends on the view scale and zoom factor</p>
            </td>
            <td bgcolor="#f4f4f4" colspan="1" rowspan="1" valign="top">
               <p class="para_td">Uses fixed size pattern;</p>
               <p class="para_td">does not change size even</p>
               <p class="para_td">with hardware zoom</p>
            </td>
         </tr>
      </table><br><table border="0">
         <tr>
            <td valign="top" align="left"><img align="left" src="../graphics/note.gif" alt="Note" title="Note"></td>
            <td valign="bottom" align="left" width="100%">
               <div class="para_note">
                  <p class="para_note_body">  Depending on the workstation, hardware fonts do not necessarily look like software fonts, and may not even be available.</p>
               </div>
            </td>
         </tr>
      </table>
      <div class="title_division">New Name</div>
      <p class="para_division">This option allows you to rename the line font.</p>
      <div class="title_division">The Font Name</div>
      <p class="para_division">The font name is composed of up to 30 alphanumeric characters. Lower case characters are converted to uppercase characters, and embedded spaces are not allowed. Consequently, in the NX DEFAULT font names, underscores ( _ ) will be used instead of embedded spaces.</p>
      <p class="para_division">For example, CENTER_LINE will be used instead of CENTER LINE. The name SOLID is reserved to represent the solid font.</p>
      <p class="para_division">If the input name is unacceptable, you will receive an error message.</p>
      <div class="title_division">Usage Notes</div>
      <p class="para_division">Choosing OK saves all parameters of the font you are defining in the output file. The parameters of the next font are then displayed for editing. This sequence continues until you have defined all the available fonts.</p>
      <p class="para_division">Choose Cancel to end the line font definition process. Your user-defined line fonts will be saved.</p>
      <p class="para_division">To use the saved line font definition file, use the Specify Existing Line Font File option. In addition, you should select the Software Font display mode in order to display the font (Preferences&rarr;Display). Newly created objects are displayed with the selected font. </p>
   </body>
</html>