next up previous
Next: ITRANS Usage Up: gujdoc.itx (ITRANS doc) Previous: gujdoc.itx (ITRANS doc)

Subsections


Fonts Available

TEX Interface

The gujarati font is called ItxGuj, and its PostScript specification is in the file itxguj.pfa or itxguj.pfb. It is a user-defined Type I PostScript font. Four styles, transformations on the basic ItxGuj font, are bundled with the itrans package. Their names (in the TEX interface) are itxguj, itxgujo, itxgujrc, and itxgujre.

itxguj
This is the basic gujarati font. There are some other fonts available, derived by transforming this font.
itxgujo
This is the slanted version of itxguj.
itxgujrc
A scaled down, compressed version (along the x-axis) of the basic font is available as itxgujrc.
itxgujre
This is heavier than itxguj, to be used as a bold version.

Since these are PostScript fonts, you can use them at any font size in your document. In this document the following line was used for loading the font:

\newfont{\itxgujf}{itxguj at 15pt}.

Even though this document has been typeset using a 11 point size, the gujarati font is loaded in at 15 point size. This is just to emphasize the gujarati characters. Normally, I would suggest loading in the font at 15-20% greater size than the other text in the document. So, if your document is being typeset at 11 point, load in the gujarati fonts using a 13 point size. Of course, this relation of size is important only if you wish to mix english and gujarati in the same document. In any case, go wild, experiment with various font sizes. Since the characters are described as outlines in bezier curve form, smaller point sizes do not look too good on a 300dpi output device, the larger font size makes the shapes look better in print.

Direct Textual Interface: HTML Output

This mode is provided for generating text that can be displayed on any WWW browser such as Netscape (version 3.0 or later). See the example file provided (ITRANS/doc/s1html.itx) on examples of how to use this mode. See the manual idoc.itx for information on the Direct Text Output mode of ITRANS.

The same IFM file is used for this mode as for the TEX interface.

Direct Textual Interface: PostScript Output

This interface does not offer any word-processing capabilities other than that of checking when a page is complete, and then resetting the current point to the top of the next page. Thus, all spaces, lines, etc from the input text appear in the output too.

The user may also directly invoke PostScript commands to create various versions of the font, as required. Refer to PostScript language manuals for specific help regarding the PostScript font manipulation commands. If you decide to go this route, take a look at the file itrans.pro, it is the prologue that gets sent to the printer. It contains definitions of various commands such as normalfont, slantfont, compressedfont, etc, which may be used to change the font being used. These PostScript functions take a single argument: the font size to use. All this and more information can be obtained from the prologue file, itrans.pro, and PostScript users should take a look at it. For example usage, look through the sample input files provided. Files ending in .ips are the direct PostScript input files, itrans (with the -P option) directly produces PostScript output for these files.

The file itxguj.pfb contains the PostScript language program for this gujarati font.


next up previous
Next: ITRANS Usage Up: gujdoc.itx (ITRANS doc) Previous: gujdoc.itx (ITRANS doc)

2009-12-04
ITRANS Home Page: http://www.aczoom.com/itrans/