[Top][All Lists]

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

Re: TUTORIAL.bg and windows-1251

From: Kenichi Handa
Subject: Re: TUTORIAL.bg and windows-1251
Date: Thu, 8 Jan 2004 08:58:17 +0900 (JST)
User-agent: SEMI/1.14.3 (Ushinoya) FLIM/1.14.2 (Yagi-Nishiguchi) APEL/10.2 Emacs/21.3 (sparc-sun-solaris2.6) MULE/5.0 (SAKAKI)

In article <address@hidden>, Ognyan Kulev <address@hidden> writes:
>>  By the way, for rendering, I installed the code I proposed a
>>  while ago which forces *-microsoft-cp1251 fonts to be used
>>  for Cyrillic letters of the charset mule-unicode-0100-24ff
>>  in Bulgarian environment on 2003-12-29.  Have you noticed
>>  it?

> Wait!  My report is exactly about that change not working.  What you 
> sent[1] in pure elisp works as expected though.

> [1] http://mail.gnu.org/archive/html/emacs-devel/2003-11/msg00452.html

???  I've thought that your bug report was about CTEXT
encoding in copy&paste, not about font because you wrote
something doesn't work before I install the change for font

So, do you mean that copy&paste has no problem now?

> When in current (2004-01-07) emacs I eval the following elisp (written 
> by you), microsoft-cp1251 font is used for cyrillic characters.  But 
> just setting language environment to bulgarian doesn't work and 
> iso10646-1 is used.

> (defun use-microsoft-cp1251-font ()
>    (let ((fontspec '(nil . "microsoft-cp1251")))
>      (map-char-table
>       #'(lambda (k v)
>        (if (and v (> k 128))
>            (set-fontset-font "fontset-default" k fontspec)))
>       (get 'encode-windows-1251 'translation-table))))

Please tell me what this returns:

(get-language-info "Bulgarian" 'overriding-fontspec)

and the effect of this.

 (get-language-info "Bulgarian" 'overriding-fontspec))

Ken'ichi HANDA

reply via email to

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