|
ENVI User's Guide: File Management |
|
ENVI allows you to use any text- or symbol-based TrueType font. After you download a TrueType font, you can install it so that it is available to ENVI.
IDL and ENVI provide access to TrueType fonts through the resource file, ttfont.map, located in the IDL resource/fonts/tt subdirectory of your IDL installation. The ttfont.map file contains a listing of available font files. The following figure contains an example of the font resource file.
Field descriptions within this resource file are described in the following table.
| Note For more information on scaling factors, see the "Fonts" Appendix in the IDL Reference Guide. |
To install TrueType fonts for use with ENVI, complete the following steps:
.ttf extension, to the resource/fonts/tt subdirectory of your IDL installation directory.
| Note On Windows, you can install the font file in your operating system's Fonts folder. In this case, you do not need to copy the file to the resource/fonts/tt subdirectory. |
| Note Before you modify the ttfont.map file, create a backup copy so you can restore the defaults if necessary. Note also that applications that use text may appear different on different platforms if the scale entries in the ttfont.map file are altered. |
ttfont.map file using any plain text editor, listing the new font that you have added. Include the fields listed in the previous table, separating each field using white space (spaces or tabs).
| Note If you installed the font in your operating system's Fonts folder, it is not necessary to list the newly installed font in the ttfont.map file on the Windows platform. |
The font is now available for use with ENVI functions.
ENVI Online Help (August 12, 2005)