emacs-pretest-bug
[Top][All Lists]
Advanced

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

Re: [w32] TrueType font with multibyte name


From: Kenichi Handa
Subject: Re: [w32] TrueType font with multibyte name
Date: Mon, 18 Oct 2004 21:27:33 +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>, "Satomi I." <address@hidden> writes:
>>  I don't think fast_c_string_match_ignore_case() is supposed to
>>  handle multibyte (ie Emacs internal encoding) strings. I think the
>>  proper fix is to do the conversion to "unibyte" in the function that
>>  calls it, or use fast_string_match with a Lisp string instead.

> Okay, I understood.

> Now I have confirmed that w32_font_match() in w32fns.c has been
> modified to encode the font name. Thank you for your support.

> Unfortunately, however, the fix would not completely solve the
> problem. It does solve the issue on font-name matching, but not on
> fontset-name matching.
[...]
> These errors did not occur when I modified
> fast_c_string_match_ignore_case(). Maybe there are some other callers
> that need to be fixed -- possibly in fontset.c?

You are right.  I've just changed all
fast_c_string_match_ignore_case in fontset.c to
fast_string_match or fast_string_match_ignore_case (new
function).

---
Ken'ichi HANDA
address@hidden




reply via email to

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