From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Liang Wang Newsgroups: gmane.emacs.devel Subject: Re: A patch for enforcing double-width CJK character display Date: Wed, 30 Apr 2014 10:08:00 -0700 Message-ID: References: NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 X-Trace: ger.gmane.org 1398877704 13524 80.91.229.3 (30 Apr 2014 17:08:24 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 30 Apr 2014 17:08:24 +0000 (UTC) Cc: emacs-devel@gnu.org To: Hui Liu Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Wed Apr 30 19:08:16 2014 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1WfXzP-00053w-GY for ged-emacs-devel@m.gmane.org; Wed, 30 Apr 2014 19:08:11 +0200 Original-Received: from localhost ([::1]:58033 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WfXzP-00057s-1a for ged-emacs-devel@m.gmane.org; Wed, 30 Apr 2014 13:08:11 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:56261) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WfXzL-00055i-LM for emacs-devel@gnu.org; Wed, 30 Apr 2014 13:08:08 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WfXzG-0001WO-65 for emacs-devel@gnu.org; Wed, 30 Apr 2014 13:08:07 -0400 Original-Received: from mail-wg0-x22d.google.com ([2a00:1450:400c:c00::22d]:49271) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WfXzF-0001WJ-VP for emacs-devel@gnu.org; Wed, 30 Apr 2014 13:08:02 -0400 Original-Received: by mail-wg0-f45.google.com with SMTP id b13so1977934wgh.4 for ; Wed, 30 Apr 2014 10:08:00 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=pde2HBb3aYYueP8bcU4ASQT49x9jY43/LoIR/SaeN4k=; b=MSIKw2fxj+RfztwhvqKofaq/qo/OwbaeCVIku0NP5KdVNzegqFzYeOqLCU88HpKywm 8xcs9XgkyTWKX5lgR0kDnT3h/aTHLOiZSEr+AWX0Dpclp7Z6SOzYNSxCY3D989/wVCHj iGiCSz7rZhbrhpnJ8pdKOgrCyQmZUMzHoKsajRdnBmoNYnkmywKOVEoePbpllaxPGgHG nkW7j9a3rN44mzVDLaYHwg6cE/4MFQ0V2jn7PXCkX/WsjCvAgjFMMfvOXGMm6QnwsTSR j4sP5Nihjm2/qrj40XDDTONKV0+YJIIY6FlqAW2kOmWHdInaKTvGzqMNi/5nh61YBxmk N1kQ== X-Received: by 10.195.18.8 with SMTP id gi8mr2968529wjd.75.1398877680720; Wed, 30 Apr 2014 10:08:00 -0700 (PDT) Original-Received: by 10.216.34.147 with HTTP; Wed, 30 Apr 2014 10:08:00 -0700 (PDT) In-Reply-To: X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Received-From: 2a00:1450:400c:c00::22d X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:171662 Archived-At: On Tue, Apr 29, 2014 at 7:00 PM, Hui Liu wrote: >> But there is a bug on displaying Chinese double dash. When I switch >> to other buffer and switch back, it looks wrong. I attached both >> screenshots and I draw a red line under Chinese double dash in the >> correct one. > > I don't think it is a bug of the patch. The font you used looks like > WenQuanYi Micro Hei, so I test a dozen other Chinese fonts. ONLY > WenQuanYi fonts have this problem. > Yes, I use WenQuanYi Micro Hei Mono. > The reason is the some characters (e.g. Chinese punctuations and Greek > letters) in WenQuanYi fonts are halfwidth. I know little about fonts, > so I doubt if it is a bug of WenQuanYi because these characters in > other Chinese fonts are all fullwidth. > > Since these characters are included in the symbol charset, You can > simply leave this charset to the default English font. Or use any > other Chinese fonts except WenQuanYi. Thanks, I choose another font for symbol. It works now!