anonymous wrote:
> I visited a website in Urdu language using Mozilla 7.1.5 and Slackware
> 10.0. However, the webpage which is done in unicode did not display
> properly. ( http://www.bbc.co.uk/urdu ) and I think bbc.co.uk provides
> downloads of Urdu fonts for windows machines only.
>
> I thought that unicode text is standard and it should be displayed as
> standard by any browser. As this is not the case, I figured out that
> font for the language need to be installed. I think this should be
> available on the Slackware CDs. But how to find them out and how to
> install is difficult for me to guess. Somebody please help me out of
> this problem.
>
> Thanks in advance.
>
> A.
>
Put the following in /etc/fonts/fonts.conf
<!-- Font directory list configured on Sun Sep 11 23:03:16 PDT 2005 -->
<dir>/usr/share/fonts</dir>
<dir>/usr/X11R6/lib/X11/fonts/TTF</dir>
<dir>/usr/X11R6/lib/X11/fonts/Type1</dir>
<dir>/usr/X11R6/lib/X11/fonts/windows</dir>
<dir>/usr/X11R6/lib/X11/fonts/misc/</dir>
<dir>/usr/X11R6/lib/X11/fonts/75dpi/</dir>
<dir>/usr/X11R6/lib/X11/fonts/100dpi/</dir>
<dir>/usr/X11R6/lib/X11/fonts/cyrillic/</dir>
<dir>/opt/kde/share/fonts</dir>
<dir>~/.fonts</dir>
<!--
This is in order that the free type library take all the fonts into
account (even the non antialiased ones). There is a classic fontg which
support unicode (at least enough to display your site properly).
Alternatively you can install a unicode TTF font (if you have one; TTF
is the usual Windows fonts) in the following way:
Put your-font.ttf in /usr/X11R6/lib/X11/fonts/myfonts (and create the
directory)
Run mkfontdir -e ../encodings/ in /usr/X11R6/lib/X11/fonts/myfonts
Run mkfontscale in /usr/X11R6/lib/X11/fonts/myfonts
Put the directory /usr/X11R6/lib/X11/fonts/myfonts in /etc/fonts/fonts.conf:
<dir>/usr/X11R6/lib/X11/fonts/myfonts</dir>
Put
FontPath "/usr/X11R6/lib/X11/fonts/myfonts" in /etc/X11/xorg.conf (you
way want not do this last step if you want that your TTF fonts are only
visible to applications using the freetype library since TTF are usually
of bad quality if the application use standard fonts as rendred by the
server)
Run fc-cache and restart the X server
Olive