How To: Substitute fonts for ArcGIS Server on Unix / Linux
This article includes information on how to substitute fonts for use with ArcGIS Server on Solaris / Linux.
Font substitution allows a font name to be mapped. For example, 'fontA' is to be mapped in another font, 'fontB'. It allows ArcGIS server to use 'fontB' wherever 'fontA' is used in an ArcMap document. Font substitution can be used in the following cases:
Case 1. A font that is used in ArcMap document but it is not installed on Solaris / Linux. Case 2. If there is an intent to use a font on Solaris / Linux that was not available on Windows when the ArcMap document was created.
Type the following on a Solaris or Linux terminal where ArcGIS server is installed:
Code: source <ArcGIS Server installation location>/../init_engine.csh
Start the Windows Registry Editor by typing 'regedit' and press enter.
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 used in the ArcMap document but 'fontB' which is installed on Solaris / Linux is substituted for display.
Truetype fonts used by ArcGIS server are located in the folder $MWHOME/fonts.
Close the Registry Editor windows after confirming the changes are correct.
Stop ArcGIS Server by navigating to <ArcGIS Server installation location>/arcgis and launch the stopserver script (for example, ./stopserver).
Stop MainWin with the following command:
Code: mwadm stop
Start MainWin with the following command:
Code: mwadm start
At a new terminal, start ArcGIS Server, navigate to <ArcGIS Server installation location>/arcgis and launch the startserver script (for example, ./startserver ).
Any Server Object created in the map document that uses 'fontA' now displays using 'fontB'. When ArcGIS server is used on Solaris / Linux, verify that font substitution is applied on all machines where ArcGIS server is installed.
Last Modified: 5/5/2016
Article ID: 000008218
Software: ArcGIS Server (10.0 and prior) 9.0, 9.0.1, 9.1, 9.2, 9.3, 9.3.1