MicroStation PowerDraft CONNECT Edition Help

Specifying the Remapping of Angular and Diameter Dimensioning Symbols

The configuration variable MS_RSCFONTDATA, if defined, specifies the remapping of the degree, diameter and plus-minus symbols applied to custom MicroStation PowerDraft fonts during conversion to SHX format.

AutoCAD requires that all SHX fonts contain these symbols and furthermore requires that these symbols be at the following character positions:

  • degree — 127 (176 for UNICODE fonts)
  • plusMinus — 128 (177 for UNICODE fonts)
  • diameter — 129 (216, 248 and 8709 for UNICODE fonts)

Remapping is required even in the case of a MicroStation PowerDraft font that does not contain these symbols.

On the other hand, in the case of a MicroStation PowerDraft font provided with MicroStation PowerDraft, you need to define MS_RSCFONTDATA only if you have modified the font or want to override the default remapping.

The definition syntax of MS_RSCFONTDATA is as follows:

MS_RSCFONTDATA=font_name, degree_font, degree_location, new_replaced_degree_symbol_location, plusminus_font, plusminus_location, new_replaced_plusminus_symbol_location, diameter_font, diameter_location, new_replaced_diameter_location

where:

  • Font_name — font to which the remapping applies.
  • Degree_font — font from which to extract the degree symbol glyph geometry. In MicroStation PowerDraft, the default symbol glyph geometry is in font 106 (INTL_ISO_EQUAL) at position 176. If you want to use this geometry, set degree_font to -1.
  • Degree_location — character position in degree_font from which to extract the degree symbol glyph geometry. If you want to use the default geometry — position 176 in font 106 (INTL_ISO_EQUAL) set degree_location to 0.
  • New_replaced_degree_symbol_location — character position in font_name to which to remap the symbol in position 127 (or 176). The recommended value is 192 because MicroStation PowerDraft fonts do not have a symbol defined at position 192. However, if font_name does not have a symbol in position 127 (or 176), set new_replaced_degree_symbol_location to 0.
  • Plusminus_font — font from which to extract the plus-minus symbol glyph geometry. In MicroStation PowerDraft, the default symbol glyph geometry is in font 106 (INTL_ISO_EQUAL) at position 177. If you want to use this geometry, set plusminus_font to -1.
  • Plusminus_location — character position in plusminus_font from which to extract the plus-minus symbol glyph geometry. If you want to use the default geometry — position 177 in font 106 (INTL_ISO_EQUAL) set plusminus_location to 0.
  • New_replaced_plusminus_symbol_location — character position in font_name to which to remap the symbol in position 128 (or 177). The recommended value is 193 because MicroStation PowerDraft fonts do not have a symbol defined at position 193. However, if font_name does not have a symbol in position 128 (or 177), set new_replaced_plusminus_symbol_location to 0.
  • Diameter_font — font from which to extract the diameter symbol glyph geometry. In MicroStation PowerDraft, the default symbol glyph geometry is in font 106 (INTL_ISO_EQUAL) at position 216. If you want to use this geometry, set diameter_font to -1.
  • Diameter_location — character position in diameter_font from which to extract the diameter symbol glyph geometry. If you want to use the default geometry — position 216 in font 106 (INTL_ISO_EQUAL) set diameter_location to 0.
  • New_replaced_diameter_symbol_location — character position in font_name to which to remap the symbol in position 129 (or 216). The recommended value is 194 because MicroStation PowerDraft fonts do not have a symbol defined at position 194. However, if font_name does not have a symbol in position 129 (or 216), set new_replaced_diameter_symbol_location to 0.

For example, if you are converting font 3 (ENGINEERING), a UNICODE font, you might define MS_RSCFONTDATA as follows:

MS_RSCFONTDATA=ENGINEERING,3,94,192,3,200,193,-1,0,0

This definition specifies the following remapping:

  • The degree symbol will be extracted from font 3 (ENGINEERING), character position 94, and will be at position 176 in the resulting SHX font. The 33/64 symbol, at position 176 in ENGINEERING, will be at position 192.
  • The plus-minus symbol will be extracted from font 3 (ENGINEERING), position 200, and will be at position 177 in the resulting SHX font. The 35/64 symbol, at position 177 in ENGINEERING, will be at position 193.
  • The MicroStation PowerDraft default diameter symbol will be extracted from font 106 (INTL_ISO_EQUAL), position 216, and will be at position 216 in the resulting SHX font.