emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: no font shown with tamil.el


From: Kenichi Handa
Subject: Re: no font shown with tamil.el
Date: Wed, 12 Feb 2003 09:34:55 +0900 (JST)
User-agent: SEMI/1.14.3 (Ushinoya) FLIM/1.14.2 (Yagi-Nishiguchi) APEL/10.2 Emacs/21.2.92 (sparc-sun-solaris2.6) MULE/5.0 (SAKAKI)

In article <address@hidden>, "Robert J. Chassell" <address@hidden> writes:
> The HELLO buffer no longer shows Hindi and does not show Tamil fonts.

Please see the section "* Extra fonts" of INSTALL.  It has
this information.

----------------------------------------------------------------------
The new Indian implementation uses the ISFOC standard fonts.  We use
CDAC ISFOC fonts to display the Devanagari script in Emacs.  They are
copyrighted, but we received permission to use them in Emacs from the
font developers.  These fonts can be obtained from the internet, or
may be found in C-DAC products (including downloadable ones).  For
examle, you can search the CDAC Devanagari font `dvsr0ntt.ttf' by
using some search engines and they will guide you to appropriate URLs
to obtain them.

After you've downloaded the fonts, then run the following Makefile
to create the appropriate BDF/PCF fonts.  (You will need `ttf2bdf',
equipped with freetype 1, to create BDF file.)

TTFS=   asdr0ntt.ttf:Assamese\
        bndr0ntt.ttf:Bengali\
        dvsr0ntt.ttf:Devanagari\
        gjav0ntt.ttf:Gujarati\
        knum0ntt.ttf:Kannada\
        mlkr0ntt.ttf:Malayalam\
        orsr0ntt.ttf:Oriya\
        pnam0ntt.ttf:Punjabi\
        sdsr0ntt.ttf:Sanskrit\
        tlhm0ntt.ttf:Telugu\
        tmvl0ntt.ttf:Tamil

all:
        for f in ${TTFS}; do \
          ttf=`echo $$f | sed 's/:.*$$//'`; \
          reg=`echo $$f | sed 's/[^:]*://'`; \
          base=`basename $$ttf .ttf`; \
          echo Converting "$$ttf to $$base-XX.bdf/pcf with registry $$reg"; \
          for i in 16 24; do \
            ttf2bdf -p $${i} -r 100 -l 0_255 $$ttf > temp; \
            sed "/^FONT /s/ISO10646-1/$$reg-CDAC/" <temp >$$base-$$i.bdf; \
            bdftopcf $$base-$$i.bdf > $$base-$$i.pcf; \
          done; \
        done
        rm -f temp

clean:
        rm -f *.pcf *.bdf

----------------------------------------------------------------------

If your X server supports TrueType fonts directly
(e.g. XFree86 4.0 and the later), instead of making pcf
fonts, you can directly put *.ttf in your fontpath for
TrueType fonts, add these lines in fonts.dir,

tmvl0ntt.ttf -altsys-TM_TTValluvar-medium-r-normal--0-0-0-0-p-0-tamil-cdac
tlhm0ntt.ttf -altsys-TL_TTHemalatha-medium-r-normal--0-0-0-0-p-0-telugu-cdac
sdsr0ntt.ttf -altsys-SD_TTSurekh-medium-r-normal--0-0-0-0-p-0-sanskrit-cdac
pnam0ntt.ttf -altsys-PN_TTAmar-medium-r-normal--0-0-0-0-p-0-punjabi-cdac
orsr0ntt.ttf -altsys-OR_TTSarala-medium-r-normal--0-0-0-0-p-0-oriya-cdac
mlkr0ntt.ttf -altsys-ML_TTKarthika-medium-r-normal--0-0-0-0-p-0-malayalam-cdac
knum0ntt.ttf -altsys-KN_TTUma-medium-r-normal--0-0-0-0-p-0-kannada-cdac
gjav0ntt.ttf -altsys-GJ_TTAvantika-medium-r-normal--0-0-0-0-p-0-gujarati-cdac
dvsr0ntt.ttf -altsys-DV_TTSurekh-medium-r-normal--0-0-0-0-p-0-devanagari-cdac
bndr0ntt.ttf -altsys-BN_TTDurga-medium-r-normal--0-0-0-0-p-0-bengali-cdac
asdr0ntt.ttf -altsys-AS_TTDurga-medium-r-normal--0-0-0-0-p-0-assamese-cdac

then run "% xset fp rehash".

---
Ken'ichi HANDA
address@hidden




reply via email to

[Prev in Thread] Current Thread [Next in Thread]