Please ensure Javascript is enabled for purposes of website accessibility
Powered by Zoomin Software. For more details please contactZoomin

Hull and Outfitting

Font Related Options

  • Last UpdatedNov 27, 2025
  • 3 minute read

In addition to the font switches below, further work is required to import Draft text correctly into MicroStation. This is covered more fully in Guidelines for Importing DGN Files from Draft into MicroStation. The following summarizes the requirements:

  • Draft supports TrueType fonts and some configuration is required to match the text metrics between the AVEVA product and a version of Microstation. This involves the use of specific configuration parameters in AVEVA Plant and a matching fonts resource file. The details are project specific. The pdmsSamFontTT.rsc file is provided with a corresponding settings in TrueType configuration datasets. The TrueType fonts are installed in the standard way required by the operating system.

  • The Draft fonts supplied with the AVEVA product must be set up in MicroStation using a fonts resource file. The contents of this file are project-specific. A pdmsSamFont.rsc file is provided, based on the fonts used in the SAM project supplied with AVEVA Plant.

  • In order for the geometric data required to be exported to MicroStation, it is also necessary to use font geometry files during the transfer to the DGN file. Such files fontnnn.dgn, where nnn is the Microstation font number, may be set up using MicroStation. These files are provided in the dgndata directory below %PDMSEXE%. In order to use these files, it is necessary to set up an environment variable %OPENDGN_FONT_DIR% which points to this directory. Wide character sets are not supported for DGN7 output, and are only supported for DGN8 output when Draft is run on a computer with appropriate language and regional settings.

MapFont

This option maps from Draft's font numbers (11-16, 21-26, 31-36, 41-46) and the special SYMBOL to MicroStation font numbers. Draft font numbers 1 and 10 are treated as equivalent to 11, 2 and 20 as equivalent to 21, 3 and 30 as equivalent to 31, 4 and 40 as equivalent to 41. For example:

SWITCH MapFont '11-16:133,21-23:6,24-26:134,31-33:172,

34-36:177,41-43:173,44-46:181,SYMBOL:186'

It is possible to modify the MicroStation font size and position by fractions of the original size; for example:

SWITCH MapFont '11-16:133w0.8h1.2u0.2'

This scales the font by a factor of 0.8 horizontally and a factor of 1.2 vertically, and shifts it up by 0.2 of a character height. The control codes include:

w

Width Factor

h

Height Factor

u

Offset Up

r

Offset Right

s

Slope (in degrees)

l

Underline separation

p

Adjustments for a AVEVA font (this includes scaling of w1.25h1.25)

m

Adjustments for a MicroStation native font (default).

Examples

SWITCH MapFont ‘11-13:133p,14-16:105m,21-23:6p,24-26:134p, 31-33:172p,34-36:177p,41-43:173p,44-46:181p,SYMBOL:186p’

SWITCH MAPFONT 5:211tw1.098,6:212tw1.085,7:213tw1.06,8:214tw1.10,9:215tw0.8,17:216tw1.15,18:217tw1.07,19:218tw1.09,27:219tw1.09,SYMBOL:254tw1.09

This font mapping maps AVEVA fonts with a best fit for adjustment factors. For AVEVA Font family 1, the bold font is mapped to a MicroStation native font.

The default is:

SWITCH MapFont '11-46:105,SYMBOL:105'

The second example above is for TrueType fonts. Note the use of the 't' control code and the general use of 'w' width factors, this is important to match the text displayed in Microstation to the original drawing. A matched Microstation resource file pdmsSamFontTT.rsc is supplied to be used with this font mapping. The AVEVA fonts used in this supplied Microstation resource file and the font mapping above correspond the following AVEVA font face settings:

5

Arial Unicode MS

6

Lucida Sans Unicode

7

Times New Roman

8

Trebuchet MS

9

Courier New

17

Comic Sans MS

18

Tahoma

19

Georgia

27

Swiss 721 BT

62

Marine Symbol (standard)

Note: Using the SYMBOL font will only produce good results if it is mapped to a font containing suitable symbol-characters in the correct character positions. The SYMBOL font is included in the MicroStation resource file pdmsSamFont.rsc supplied with AVEVA Plant. When using the supplied resource file, the following font mapping should be used:

SWITCH MapFont ‘11-16:201p,21-23:202p,24-26:203p,

31-33:204p,34-36:205p,41-43:206p,44-46:207p,SYMBOL:255p’

FontSlopes

This option controls whether Draft font slopes are translated into MicroStation text slants (default On) or are ignored (Off).

In This Topic
TitleResults for “How to create a CRG?”Also Available in