Next find out the directory where other fonts are installed (files with extensions gsf, pfa, afm etc). (In my pc, this directory is $GSHOME/fonts). Copy bnr.gsf and bnsl.gsf to this directory.
Now try to locate the file that defines the logical names and aliases for the fonts ($GSHOME/Fontmap, for example). Edit this file and add the following two lines anywhere in it.
/Bengali (bnr.gsf) ; /Bengali-slanted (bnsl.gsf) ;
This completes the installation.
There is an alternative strategy for installing new fonts that requires recompilation of ghostscript. If your system provides the `font2c' command, you may use this for converting the gsf files to C files. Now include these files in the appropriate place in the Makefile and rebuild ghostscript. In that case, it will not be necessary to edit the fontmap file, though there is no harm in doing so.
These are needed for viewing PostScript files on the screen. Even if you modify your Fontmap file and can see Bengali text properly, you cannot get the same output when you try to print the file. The printer does not know your computer's Fontmap file. In order to keep the printer happy, you must physically include bnr.gsf and/or bnsl.gsf in your PostScript file. A good place to include the font files is the preamble. Another way to take a proper printout is discussed below.
Very sketchy?? Yes! I have been deliberately so. The point is that you should have fair amount of familiarity with PostScript in order to have these fonts making sense to you. Moreover, the ghostscript package normally comes with extensive documentation. Check if that is installed in your machine. If yes, read them carefully to see what one can do with PostScript Type 1 fonts.
/Bengali findfont 15 scalefont setfontThere is an alternative that does not necessitate physical inclusion of the gsf files. It's sufficient to have your Fontmap file updated as stated above. We will now describe how ghostscript help you generate a printer file that can be directly fed to the printer for Bengali output. Well, the process is not simple. If you want to print (say showfonts.ps) directly using the print command (for example, lpr), your printer will behave awkwardly. If it prints any page at all, you will see a fixed predefined English font replacing the desired Bengali characters. What then?
You should run `gs' to convert the input ps file to a printer file. Check your local man page how your installation does this conversion. Here is how I do it in my machine.
gs -sDEVICE=<dev> -sOutputFile=outfile.<dev> input.ps
For example, if you have a laserjet printer, use the command
gs -sDEVICE=laserjet -sOutputFile=showfonts.lj showfont.ps
This creates a laserjet file showfonts.lj that is ready for getting printed exactly the way you view it.
To see what (other) devices are supported by gs, check your local man page for gs.