How To: Substitute fonts for use with ArcMap Server on Unix
Instructions provided describe how to substitute fonts for use with ArcMap Server on Unix. Font substitution allows a font name to be mapped, for example: FontA to another font, for example: FontB. This allows ArcMap server to use FontB, wherever FontA is used in an ArcMap document. Font substitution can be used in the following cases:
- When a font that is used in a ArcMap document is not installed on Solaris. - If there is intent to use a font on Solaris that was not available on Windows when the ArcMap document was created.
Follow the steps below to setup font substitution on Solaris:
On the Solaris or Linux terminal where ArcMap server is installed type: source $AIMSHOME/../init_engine.csh
Then type the command: > regedit This opens the Registry Editor window.
In the Registry Editor, navigate to: HKey_Local_Machine > Software > MainSoft > TTFontSubsitutes
Add a new string with name 'fontA'. For the value of this string, specify 'fontB'. FontA is the font used in the ArcMap document, that is substituted for display by FontB, that is installed on Solaris.
Note: True type fonts used by ArcMap server are located in the folder $MWHOME/fonts
Close the Registry Editor windows after confirming the changes are correct.
Stop ArcIMS by running the script: $AIMSHOME/qs_scripts/stop_arcims
Stop MainWin by typing: mwadm stop
Start MainWin by typing: mwadm start
At a new terminal start ArcIMS by running the script $AIMSHOME/qs_scripts/start_arcims
Any ArcMap service created on this server, that uses FontA in the map document, now displays using FontB. When using a distributed setup of ArcMap server on Solaris, verify font substitution is applied on all machines where ArcMap server is installed.