6. PDF from Unicode

6.1. Lekho

Lekho is a simple text editor with the capability to create Unicode encoded Bangla+English text files. It uses the "Adarshalipi" family of TrueType fonts for showing Bangla glyphs. If you have never used it then have a look at it's website. The website along with the Lekho distribution contain enough docs to get someone start using Lekho.

The "Adarshalipi" fonts are quite similar to the Bijoy fonts and so the Type1 conversion procedure is same as the Bijoy fonts. Using a Type1 Adarshalipi font, Lekho can produce PDFs from Unicode encoded Bangla text files. Actually Lekho produces Postscript files which in turn is converted to PDF using tools like ps2pdf. The next steps describe PDF creation using Lekho, provided that a Type1 "Adarshalipi" font has been installed already:

  1. When editing is over, change the font size of both Bangla and English fonts to 11. This is not mandatory but it keeps the format of the Postscript file as near as it is seen in Lekho.

  2. Click the PRINT FILE button and select PRINT TO FILE. Write a name for the soon to be created Postscript file and click OK.

  3. Use a tool like ps2pdf to convert the Postscript file to PDF:

    
        $ ps2pdf file.ps
        

Lekho has another valuable feature - it can export a file to bangtex , the Latex macro package for Bangla. So, the Latex users can eventually use this feature to create PDFs.

6.2. BSpeller

BSpeller is basically a Bangla spell checker. Besides, it is a light weight text editor with the ability to print. Instead of TrueType or Type1, BSpeller relies on OpenType fonts. So it requires GTK+ 2.0 (or later) to render Bangla glyphs. As it is still a beta software, it's output is somewhat shaky.