Recently on bentleyuser.org...


About bentleyuser.org

© bentleyuser.org 2024

Printed from www.bentleyuser.org © TMC Publications (UK) Ltd 2010

Restricting Fonts
by Karen Fugle - 22 October 2004

Need to restrict access to fonts?

You can disable a whole type of font (SHX or TRUETYPE) using the CAPABILITY masks.

For example, to disable SHX font capability, add this line to your standards.cfg (site) or .pcf (Project) or your .ucf file (user);
_USTN_CAPABILITY < -CAPABILITY_TEXT_FONTS_SHX

To disable TRUETYPE font capability, add the following line;
_USTN_CAPABILITY < -CAPABILITY_TEXT_FONTS_TRUETYPE

You can restrict McroStation Resource fonts by either removing the font.rsc files or by setting the CAPABILITY mask;
_USTN_CAPABILITY < -CAPABILITY_TEXT_FONTS_RSC

You can restrict McroStation Resource fonts by either removing the font.rsc files or by setting the CAPABILITY mask
_USTN_CAPABILITY < -CAPABILITY_TEXT_FONTS_RSC

You can restrict SHX fonts to a small subset of available fonts by copying the needed fonts to a separate directory and setting MS_DWGFONTPATH to point to that directory.
Unfortuntely there is currently no way to restrict the available TT fonts to a subset of the ones present on the system, but I hear Bentley will soon be providing a way to achieve this.