|Thursday, 19 July 2018|
Installation and usage instructions for the hrnet X fonts
If you are on a Sun running OpenWindows and not X windows
First you need to determine whether your screen resolution is closer to 75 dpi or to 100dpi. Then you should get the appropriate compressed fonts file, either for 75 dpi or for 100 dpi and place them in a directory such as ~/grfonts by first creating this directory with
mkdir ~/grfontsand then downloading one of the files.
Then you should go into that directory and uncompress the archive as follows:
cd ~/grfonts gunzip hrgrXfonts-75dpi.tar.gz tar xf hrgrXfonts-75dpi.tarRemember to change 75 to 100 in these commands if you have gotten the 100 dpi fonts!
Run the installation script by entering
./install_fontsIf you get an error message about permissions, give the command
chmod u+x ./install_fontsand try again. If you don't get any error messages it means that installation was successful. If you get error messages try giving the commands in install_fonts one by one, substituting the full path to the fonts directory for `pwd` to see where the problem is If you have any problems, please read I still cannot read greek.
Once the installation is successfully completed you may erase the tar file to save space. You may also put the following two lines in your .xinitrc file so that the fonts will be available to you each time you enter the system:
xset fp+ font-path xset fp rehashRemember to substitute the full path name to your fonts directory for font-path. If you don't know what the full path name is you can find out by going into the directory (e.g., cd ~/grfonts) and giving the command pwd.
To make Mosaic use the Greek fonts you will need a special file depending on the resolution of your screen: Please get the appropriate resource file, either for 75 dpi or for 100 dpi, rename it to GRMosaic.Xresources and use the command
xrdb -merge GRMosaic.XresourcesThen run Mosaic with the command
Mosaic -name GRMosaicwhen you want to use the Greek fonts. As always you have the option of placing this command in your .xinitrc file or the entire resource file in app-default directory.