old-www/HOWTO/Indic-Fonts-HOWTO/faq.html

422 lines
7.4 KiB
HTML

<HTML
><HEAD
><TITLE
>Frequently Asked Questions (FAQ)</TITLE
><META
NAME="GENERATOR"
CONTENT="Modular DocBook HTML Stylesheet Version 1.63
"><LINK
REL="HOME"
TITLE="The Indic Fonts HOWTO"
HREF="index.html"><LINK
REL="PREVIOUS"
TITLE="References and sites"
HREF="references.html"><LINK
REL="NEXT"
TITLE="Acknowledgements and Copyright"
HREF="notices.html"></HEAD
><BODY
CLASS="sect1"
BGCOLOR="#FFFFFF"
TEXT="#000000"
LINK="#0000FF"
VLINK="#840084"
ALINK="#0000FF"
><DIV
CLASS="NAVHEADER"
><TABLE
WIDTH="100%"
BORDER="0"
CELLPADDING="0"
CELLSPACING="0"
><TR
><TH
COLSPAN="3"
ALIGN="center"
>The Indic Fonts HOWTO</TH
></TR
><TR
><TD
WIDTH="10%"
ALIGN="left"
VALIGN="bottom"
><A
HREF="references.html"
>Prev</A
></TD
><TD
WIDTH="80%"
ALIGN="center"
VALIGN="bottom"
></TD
><TD
WIDTH="10%"
ALIGN="right"
VALIGN="bottom"
><A
HREF="notices.html"
>Next</A
></TD
></TR
></TABLE
><HR
ALIGN="LEFT"
WIDTH="100%"></DIV
><DIV
CLASS="sect1"
><H1
CLASS="sect1"
><A
NAME="faq"
>7. Frequently Asked Questions (FAQ)</A
></H1
><DIV
CLASS="qandaset"
><DL
><DT
>7.1. <A
HREF="faq.html#AEN276"
>&#13; I can't start the X windows system. It gives an error "Could not open default Indic font 'xyz'".
</A
></DT
><DT
>7.2. <A
HREF="faq.html#AEN283"
>&#13; Can I use any other font as the default system font instead of the raghu font shipped with the IndiX system?
</A
></DT
><DT
>7.3. <A
HREF="faq.html#AEN292"
>&#13; I have installed IndiX system but it doesn't show Hindi characters. Why?
</A
></DT
><DT
>7.4. <A
HREF="faq.html#AEN300"
>&#13; Why are some of the pixels in Hindi characters distorted?
</A
></DT
><DT
>7.5. <A
HREF="faq.html#AEN307"
>&#13; All Hindi characters are displayed, but why are they not rendered properly?
</A
></DT
><DT
>7.6. <A
HREF="faq.html#AEN312"
>&#13; Why can't I download <SPAN
CLASS="acronym"
>ISO</SPAN
> images of <SPAN
CLASS="productname"
>Exodus GNU/Linux</SPAN
>, yet?
</A
></DT
></DL
><DIV
CLASS="qandaentry"
><DIV
CLASS="question"
><P
><A
NAME="AEN276"
></A
><B
>7.1. </B
>
I can't start the X windows system. It gives an error "Could not open default Indic font 'xyz'".
</P
></DIV
><DIV
CLASS="answer"
><P
><B
> </B
>
Please make sure that the font 'xyz' is correctly installed and is in the current FontPath. The Indic fonts usually reside in the <TT
CLASS="filename"
>/usr/X11R6/lib/X11/fonts/TrueType/</TT
> directory. Your FontPath is defined in the <TT
CLASS="filename"
>/etc/X11/XFree86Config-4</TT
> file. To learn more about howto specify your FontPath, read the section on X Window System (3.2) in this HOWTO.
</P
></DIV
></DIV
><DIV
CLASS="qandaentry"
><DIV
CLASS="question"
><P
><A
NAME="AEN283"
></A
><B
>7.2. </B
>
Can I use any other font as the default system font instead of the raghu font shipped with the IndiX system?
</P
></DIV
><DIV
CLASS="answer"
><P
><B
> </B
>
You can load an Indic script font by giving command line server option while starting X Window System. e.g.
<TABLE
BORDER="0"
BGCOLOR="#E0E0E0"
WIDTH="100%"
><TR
><TD
><FONT
COLOR="#000000"
><PRE
CLASS="programlisting"
> $ startx -- -devanagari "my_devanagari_font"</PRE
></FONT
></TD
></TR
></TABLE
>
or
<TABLE
BORDER="0"
BGCOLOR="#E0E0E0"
WIDTH="100%"
><TR
><TD
><FONT
COLOR="#000000"
><PRE
CLASS="programlisting"
> $ startx -- -tamil "my_tamil_font"</PRE
></FONT
></TD
></TR
></TABLE
>
Here, "my_devanagari_font" and "my_tamil_font" should be replaced by the font name that you want to load. You can either specify alias name or full XLFD name for the font. However alias name must be there in <TT
CLASS="filename"
>fonts.alias</TT
> file and XLFD name in <TT
CLASS="filename"
>fonts.dir</TT
> file.
</P
></DIV
></DIV
><DIV
CLASS="qandaentry"
><DIV
CLASS="question"
><P
><A
NAME="AEN292"
></A
><B
>7.3. </B
>
I have installed IndiX system but it doesn't show Hindi characters. Why?
</P
></DIV
><DIV
CLASS="answer"
><P
><B
> </B
>
This could possibly be due to the fact that your Hindi locale has not been setup correctly. To change/set the locale you should set LANG environment variable. Append the line
<TABLE
BORDER="0"
BGCOLOR="#E0E0E0"
WIDTH="100%"
><TR
><TD
><FONT
COLOR="#000000"
><PRE
CLASS="programlisting"
> export LANG=hi_IN.UTF-8</PRE
></FONT
></TD
></TR
></TABLE
>
in your <TT
CLASS="filename"
>~/.bashrc</TT
> and <TT
CLASS="filename"
>~/.bash_profile</TT
> files. Restart your terminal emulator program and run the application. After this the application should display Hindi characters.
</P
></DIV
></DIV
><DIV
CLASS="qandaentry"
><DIV
CLASS="question"
><P
><A
NAME="AEN300"
></A
><B
>7.4. </B
>
Why are some of the pixels in Hindi characters distorted?
</P
></DIV
><DIV
CLASS="answer"
><P
><B
> </B
>
This is probably because the X Font Server (xfs) is running and is still in the current FontPath. You can either shutdown the X Font Server or remove it from the current FontPath. To shutdown xfs issue the following command after becoming root:
<TABLE
BORDER="0"
BGCOLOR="#E0E0E0"
WIDTH="100%"
><TR
><TD
><FONT
COLOR="#000000"
><PRE
CLASS="programlisting"
> # /etc/rc.d/init.d/xfs stop</PRE
></FONT
></TD
></TR
></TABLE
>
To remove xfs from the current FontPath, read the section <A
HREF="iosetup.html#xwindows"
>Section 3.2</A
> in this HOWTO.
</P
></DIV
></DIV
><DIV
CLASS="qandaentry"
><DIV
CLASS="question"
><P
><A
NAME="AEN307"
></A
><B
>7.5. </B
>
All Hindi characters are displayed, but why are they not rendered properly?
</P
></DIV
><DIV
CLASS="answer"
><P
><B
> </B
>
IndiX system uses an OpenType font to render Indic script characters, as it is the most suitable font format for Indic scripts. If you use some other kind of font, for example a TrueType font or a Bitmap font, then the font does not have enough information that is required to render Indic script text properly. So it is recommended to use only OpenType fonts for Indic scripts. Also, in case you are already using an OpenType font, please update your glibc.
</P
></DIV
></DIV
><DIV
CLASS="qandaentry"
><DIV
CLASS="question"
><P
><A
NAME="AEN312"
></A
><B
>7.6. </B
>
Why can't I download <SPAN
CLASS="acronym"
>ISO</SPAN
> images of <SPAN
CLASS="productname"
>Exodus GNU/Linux</SPAN
>, yet?
</P
></DIV
><DIV
CLASS="answer"
><P
><B
> </B
>
The good guys at Centurion Linux are looking for sponsors who can take care of their hosting needs. If you are interested in helping Centurion Linux out, please contact me on <TT
CLASS="email"
>&#60;<A
HREF="mailto:bali@centurionlinux.com"
>bali@centurionlinux.com</A
>&#62;</TT
>.
</P
></DIV
></DIV
></DIV
></DIV
><DIV
CLASS="NAVFOOTER"
><HR
ALIGN="LEFT"
WIDTH="100%"><TABLE
WIDTH="100%"
BORDER="0"
CELLPADDING="0"
CELLSPACING="0"
><TR
><TD
WIDTH="33%"
ALIGN="left"
VALIGN="top"
><A
HREF="references.html"
>Prev</A
></TD
><TD
WIDTH="34%"
ALIGN="center"
VALIGN="top"
><A
HREF="index.html"
>Home</A
></TD
><TD
WIDTH="33%"
ALIGN="right"
VALIGN="top"
><A
HREF="notices.html"
>Next</A
></TD
></TR
><TR
><TD
WIDTH="33%"
ALIGN="left"
VALIGN="top"
>References and sites</TD
><TD
WIDTH="34%"
ALIGN="center"
VALIGN="top"
>&nbsp;</TD
><TD
WIDTH="33%"
ALIGN="right"
VALIGN="top"
>Acknowledgements and Copyright</TD
></TR
></TABLE
></DIV
></BODY
></HTML
>