[Top][All Lists]

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

Re: X fonts selection weirdness

From: Kenichi Handa
Subject: Re: X fonts selection weirdness
Date: Wed, 25 Jun 2008 16:47:22 +0900
User-agent: SEMI/1.14.3 (Ushinoya) FLIM/1.14.2 (Yagi-Nishiguchi) APEL/10.2 Emacs/23.0.60 (i686-pc-linux-gnu) MULE/6.0 (HANACHIRUSATO)

In article <address@hidden>, Yoshiaki Kasahara <address@hidden> writes:

> Thank you very much.  It worked for '-fn' option.  It seems that
> create-fontset-from-ascii-font still ignores specified DPI, though...

> (create-fontset-from-ascii-font
>         "-misc-fixed-medium-r-normal--14-130-75-75-c-70-iso8859-1" nil 
> "misc_14")
> "-misc-fixed-medium-r-normal--13-*-100-100-c-70-fontset-misc_14"

I installed a fix.  Please try again.

> By the way, I have one more unsolved question... Is this a correct way
> to specify Japanese kanji characters to use Japanese kanji fonts?
> (after emacs -fn '-misc-fixed-medium-r-normal--14-130-75-75-c-70-iso8859-1')

> (set-fontset-font "fontset-startup"
>                 'japanese-jisx0208
>                 '("misc-fixed" . "jisx0208.1983"))

> Without explicit set-fontset-font, some symbol characters are
> displayed using iso10646 font instead of jisx0208 font, such as
> -misc-fixed-medium-r-normal--14-130-75-75-c-70-iso10646-1.

The above should work, but I'm now thinking about
introducing non-default-font-script-list:

non-default-font-script-list is a variable defined in `C source code'.
Its value is 
(arabic syriac thaana devanagari before gurmukhi gurmukhi oriya tamil telugu 
kannada malayalam sinhala thai lao tibetan myanmar hangul khmer mongolian kana 
han ideographic-description cjk-misc hangul cham tai-viet)

List of scripts not to display by the default font.
Usually, the font specified for ASCII characters is also used
to display a non-ASCII character if the font supports that character.
But, if a character belongs to one of these scripts, a font for it is
determined by looking up the current fontset and the default fontset.

But, I have not yet decided the detail of the
implementation.   Could you please wait for a while?

Kenichi Handa

reply via email to

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