From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Richard Wordingham Newsgroups: gmane.emacs.help Subject: Re: Multilingual Font Control Date: Thu, 25 Jan 2018 19:37:41 +0000 Message-ID: <20180125193741.6f9542e9@JRWUBU2> References: <20180125082606.11435b2f@JRWUBU2> <83inbpna2o.fsf@gnu.org> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Trace: blaine.gmane.org 1516909003 3887 195.159.176.226 (25 Jan 2018 19:36:43 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Thu, 25 Jan 2018 19:36:43 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Thu Jan 25 20:36:39 2018 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1eenK5-0000Rh-I0 for geh-help-gnu-emacs@m.gmane.org; Thu, 25 Jan 2018 20:36:33 +0100 Original-Received: from localhost ([::1]:59992 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1eenM6-0003z4-6g for geh-help-gnu-emacs@m.gmane.org; Thu, 25 Jan 2018 14:38:38 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:42490) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1eenLJ-0003ng-6I for help-gnu-emacs@gnu.org; Thu, 25 Jan 2018 14:37:50 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1eenLE-0006cY-95 for help-gnu-emacs@gnu.org; Thu, 25 Jan 2018 14:37:49 -0500 Original-Received: from know-smtprelay-omc-2.server.virginmedia.net ([80.0.253.66]:44004) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1eenLD-0006aj-SH for help-gnu-emacs@gnu.org; Thu, 25 Jan 2018 14:37:44 -0500 Original-Received: from JRWUBU2 ([82.24.12.78]) by cmsmtp with ESMTP id enLBepUFWxdZsenLBebuXL; Thu, 25 Jan 2018 19:37:41 +0000 X-Originating-IP: [82.24.12.78] X-Authenticated-User: X-Spam: 0 X-Authority: v=2.3 cv=cMnOTGWN c=1 sm=1 tr=0 a=DTgvfmaz/CX51LldqIotvw==:117 a=DTgvfmaz/CX51LldqIotvw==:17 a=kj9zAlcOel0A:10 a=x7bEGLp0ZPQA:10 a=mDV3o1hIAAAA:8 a=NLZqzBF-AAAA:8 a=HmihexA-bwX8yit5bv4A:9 a=CjuIK1q_8ugA:10 a=_FVE-zBwftR9WsbkzFJk:22 a=wW_WBVUImv98JQXhvVPZ:22 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ntlworld.com; s=meg.feb2017; t=1516909061; bh=VuC5kb+gx8TF5h5wNxL5neK+UbYztP+dcG24Fm7IdMU=; h=Date:From:To:Subject:In-Reply-To:References; b=adnQztI96FhSSlbG/KsG944+kWZk4cKY1wA/nwMilYfR5DkcOpB5NM5P5ML0gCFOb ubN7ESTZDLRxfAHaXJU+k2osoScqNHgMJMTz5OdJM2kDB8RXY8m9Zlq0I+8ajEEf6r Rw/4qVp2l3VTUS77Bwa5/xuZx0OrA5ufFd87vKOPVDWefwvNJcafYgJIIGK44Dmn57 ujMpq0/W51WuzmWAVhmDSjazexrDd1pQyyHVXXS0xLaPmYy/2f3CUH1AmBRTwBNF+7 Mzv3z0Wu6hxLerIB1aHp81VqmS/j75nQXByqGtp26jqn/Ln2Fjj5loEmRSv1z1dMO9 5lzSntv4cIHAg== In-Reply-To: <83inbpna2o.fsf@gnu.org> X-Mailer: Claws Mail 3.13.2 (GTK+ 2.24.30; i686-pc-linux-gnu) X-CMAE-Envelope: MS4wfIAq6QixpGdglqB+18aPq5klv3dXJU8V6YVKtAr0A7ZIxSINCEgq63kDGqVUQlucjKLs1o0cCzbdI/RZPecvrMV2xUQeN1B6acPuZhmTPUJSbiwZIQzd i7KvQu0Srbi1tCZCjfnrOlVQnT1dUoUVQ8DS9kvSpVPatRx2owoPPFZCeB67nj/O9eW1aXVnGXsmnQ== X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x [fuzzy] X-Received-From: 80.0.253.66 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Original-Sender: "help-gnu-emacs" Xref: news.gmane.org gmane.emacs.help:115838 Archived-At: On Thu, 25 Jan 2018 19:05:03 +0200 Eli Zaretskii wrote: > > Date: Thu, 25 Jan 2018 08:26:06 +0000 > > From: Richard Wordingham > > > > I don't use Thai in Emacs very often at the moment, and I hit a > > display problem when I had to use it urgently the other night. I > > used describe-char to identify the immediate cause - Emacs was > > using the barely readable 'handwritten' font Purisa instead of the > > usual default, Kinnari. > > What Emacs version was that, and on what OS? OS is Ubuntu 16.04.3, Emacs versions 24.4 and 25.3. > > > I've fixed the problem for many purposes by simply adding the line > > > > (set-fontset-font "fontset-default" 'thai "Kinnari") ;; Def. not > > Purisa > > > > to my .emacs. However, this command looks as though it may not work > > well with font-locking, which may select other font sets. > > Why do you think it will not work with font-lock? I see no reason why > it shouldn't. I thought that other faces would be defined by the time .emacs executed the expression. Looking closer, it does seem that they are defined later, and presumably based on fontset-default by default. Richard.