<!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>Importing Text Fonts</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_topic5" id="xps10_pagetitle">Importing Text Fonts</div>
      <hr noshade="true">
      <p class="para_topic">When importing a CGM ( interactively or through the Open C and C++ API). Font names in the CGM Font List are handled as follows: each font name is searched for (without regard for character case) amongst the existing Unigraphics NX fonts. When a font name is found, text elements in the CGM that use that CGM font are created in Unigraphics NX using the UG font of the same name. (If the font was not already in use in the part, it is automatically loaded into the Font Table Entity.) If, however, the font name is not found, the current Unigraphics NX default font is used in its place.</p>
      <p class="para_topic">This default behavior can be overridden by using the following keyword:</p>
      <p class="para_topic">IMPORT_TEXT_FONT cgm_font UG_font</p>
      <p class="para_topic">This keyword only applies to importing a CGM. If cgm_font is one of the fonts in the CGM Font List, and UG_font is an existing Unigraphics NX font, then all text elements in the CGM that use cgm_font are created in Unigraphics NX using UG_font. (As above, if the UG font was not already in use in the part, it is automatically loaded into the Font Table Entity.)</p>
      <p class="para_topic">TEXT_FONT_MAPPING</p>
      <p class="para_topic">This legacy keyword accepts the same options as IMPORT_TEXT_FONT, and is functionally equivalent to it, except that it is also used to specify how text fonts are to be exported. Because of the possible ambiguity this could introduce, usage of this keyword is discouraged.</p>
   </body>
</html>