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

[cgreek:00191] Re: cgreek w/ windows xp



William Furley wrote:

(setq font-encoding-alist
     (append '(("MuleTibetan-0" (tibetan . 0))
		("cgreek"        (cgreek16 . 0))
               ("GB2312"        (chinese-gb2312 . 0))
               ("JISX0208"      (japanese-jisx0208 . 0))
               ("JISX0212"      (japanese-jisx0212 . 0))
               ("VISCII"        (vietnamese-viscii-lower . 0))
               ("KSC5601"       (korean-ksc5601 . 0))
               ("MuleArabic-0"  (arabic-digit . 0))
               ("MuleArabic-1"  (arabic-1-column . 0))
		("MuleArabic-2"  (arabic-2-column . 0))) font-encoding-alist))

;; CGreek
;;===============================================


;; (load-library "fonts") (add-to-list 'load-path "c:/progs/emacs/site-lisp/cgreek-emacs20") (setq cgreek-greek-input-method "greek-ibycus4")

=================================================

William,

I tested your settings instead of my fontset.el. Probably there are still many useless lines in
your fontset specification, but it works, and cgreek is displayed correctly. So, the
problem is *not* with bdf fonts.


I'd like to know, if you load the cgreek package after your font-specific settings?
It should be loaded *before* your fontset specification, so that Emacs can
know what is "cgreek" charset before using it.



The above lines are derived (mainly) from the NTemacs FAQ file (`how to set up bdf files'). I also tried various versions of Alexej Kryokov's fonts.el file, all without success. CGreek continues to show only empty boxes when in Greek mode. How many bdf files are there in CGreek? (i have 4);

AFAIK, there are only 3 greek font files, but your are trying to load only
one of them (for 16 pt). Of course, you should have a valid fonts.dir
file in the same directory.

do the CGreek bdf files have to be in a particular
folder? (I have them as a subfolder of c:/intlfonts/).

No, you may put them anywhere (I have them in c:/emacs-21.2/fonts/bdf/cgreek) .

Is the font
encoding (0) of CGreek (as above) correct?


I'm not sure for this font-encoding alist. Probably it is not necessary at all.
But I tried to insert these lines in my _emacs file, and nothing (wrong)
happened.


Does `Greek' conflict with
`CGreek'? You will notice that I have both lines in the
`create-fontsets' part of .emacs. BTW, monotonic Greek shows correctly
on my setup (and in the Hello file).

No, "greek" and "cgreek" are completely different character sets.
You should know that the WinGreek encoding has nothing to do with
the monotonic iso-8859-7 (or windows-1253).