I got this information from ChatGPT, so it might work, it might not... looks alright tho:
To add new fonts to your SGI IRIX 6.5.30 system, follow these steps:
1. Obtain Fonts
- Ensure the fonts you want to install are in a supported format like PCF, BDF, or TTF (TrueType Fonts).
- Download or copy the font files to a directory on your SGI IRIX machine.
2. Identify Font Directories
- Typically, fonts are located in /usr/lib/X11/fonts/, but you can add your fonts to a custom directory or existing ones like /usr/lib/X11/fonts/75dpi/, /usr/lib/X11/fonts/misc/, etc.
3. Move the Fonts
- Copy your new font files into one of the font directories, for example:
Code:
cp your-font-file.pcf /usr/lib/X11/fonts/misc/
4. Update Font Database
After copying the font files, you need to update the font database files:
- Navigate to the font directory where you added the fonts:
Code:
cd /usr/lib/X11/fonts/misc/
- Run the following commands to update the font database:
This will generate/update the fonts.dir and fonts.scale files used by the X server to recognize the fonts.
5. Restart X Server
For the changes to take effect, restart the X server. You can do this by either logging out and logging back in or by restarting the X server directly:
Code:
/usr/bin/X11/X -terminate
6. Verify Fonts
Once X is restarted, you can verify the new fonts by listing them with xset:
This will display the font path and show the fonts now available to the system.
7. Optional: Adding Fonts to the Global Font Path
If you'd like the newly added fonts to be available system-wide, you can add the font directory to the global X11 font path. Edit /usr/lib/X11/fs/config or use xset:
Code:
xset +fp /usr/lib/X11/fonts/misc/
xset fp rehash
After following these steps, the new fonts should be available for use in your SGI IRIX 6.5.30 environment.