From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED.blaine.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.devel Subject: Re: bad default font on Windows mingw64 Date: Mon, 22 Jul 2019 22:35:11 +0300 Message-ID: <83wog9q2vk.fsf@gnu.org> References: <86y30q57g4.fsf@stephe-leake.org> <8336iyq81l.fsf@gnu.org> <86tvbd6fwo.fsf@stephe-leake.org> Injection-Info: blaine.gmane.org; posting-host="blaine.gmane.org:195.159.176.226"; logging-data="245904"; mail-complaints-to="usenet@blaine.gmane.org" Cc: emacs-devel@gnu.org To: Stephen Leake Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon Jul 22 21:35:40 2019 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([209.51.188.17]) by blaine.gmane.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.89) (envelope-from ) id 1hpe5w-0011iQ-RT for ged-emacs-devel@m.gmane.org; Mon, 22 Jul 2019 21:35:36 +0200 Original-Received: from localhost ([::1]:37272 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.86_2) (envelope-from ) id 1hpe5v-0003ap-Is for ged-emacs-devel@m.gmane.org; Mon, 22 Jul 2019 15:35:35 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:33643) by lists.gnu.org with esmtp (Exim 4.86_2) (envelope-from ) id 1hpe5o-0003aj-3M for emacs-devel@gnu.org; Mon, 22 Jul 2019 15:35:28 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]:37656) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hpe5n-0008MU-A1; Mon, 22 Jul 2019 15:35:27 -0400 Original-Received: from [176.228.60.248] (port=4457 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1hpe5m-0002gF-Cp; Mon, 22 Jul 2019 15:35:26 -0400 In-reply-to: <86tvbd6fwo.fsf@stephe-leake.org> (message from Stephen Leake on Mon, 22 Jul 2019 12:13:59 -0700) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.23 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" Xref: news.gmane.org gmane.emacs.devel:238805 Archived-At: > From: Stephen Leake > Date: Mon, 22 Jul 2019 12:13:59 -0700 > > > emacs -Q -xrm Emacs.fontBackend:uniscribe > > That gives me a readable font. Then I think you should step through w32hb_encode_char in an Emacs invoked normally (only with -Q), and see what happens there. I'm guessing it fails for some reason. > > If you click S-mouse-2 and select "Change Buffer Font...", what font > > is shown in the dialog as the current one? > > I assume that's the font that is selected when the dialog starts. > > With the Uniscribe backend, it's "Courier New". "Courier" does not show > size 9. > > Same for harbuzz backend. So for some reason HarfBuzz cannot use Courier New. Strange. Are you sure your MSYS2/MinGW64 installation is up to date? What was the commit from which you built your previous binary, which did work? Does anyone else see something similar with MinGW64?