From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.ciao.gmane.io!not-for-mail From: Sergey Organov Newsgroups: gmane.emacs.help Subject: Re: How to enforce unicode font for all charsets? Date: Fri, 13 Mar 2020 16:58:15 +0300 Message-ID: <87d09gwe4o.fsf@osv.gnss.ru> References: <874kuwphsz.fsf@osv.gnss.ru> <83wo7s9sgt.fsf@gnu.org> <87a74niii8.fsf@osv.gnss.ru> <83blp2aldx.fsf@gnu.org> <87wo7qqd2m.fsf@osv.gnss.ru> <83eetxsj6k.fsf@gnu.org> <87sgicbvis.fsf@osv.gnss.ru> <83r1xw8vyu.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Injection-Info: ciao.gmane.io; posting-host="ciao.gmane.io:159.69.161.202"; logging-data="49641"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.1 (gnu/linux) Cc: help-gnu-emacs@gnu.org To: Eli Zaretskii Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Fri Mar 13 14:59:30 2020 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1jCkqX-000Cmj-HJ for geh-help-gnu-emacs@m.gmane-mx.org; Fri, 13 Mar 2020 14:59:29 +0100 Original-Received: from localhost ([::1]:59266 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jCkqW-0004Rx-FK for geh-help-gnu-emacs@m.gmane-mx.org; Fri, 13 Mar 2020 09:59:28 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:39296) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jCkpQ-0000Bb-2Y for help-gnu-emacs@gnu.org; Fri, 13 Mar 2020 09:58:21 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1jCkpP-0008Jr-0U for help-gnu-emacs@gnu.org; Fri, 13 Mar 2020 09:58:19 -0400 Original-Received: from mail-lj1-x22a.google.com ([2a00:1450:4864:20::22a]:45002) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1jCkpO-0008Dy-Ox; Fri, 13 Mar 2020 09:58:18 -0400 Original-Received: by mail-lj1-x22a.google.com with SMTP id a10so10589678ljp.11; Fri, 13 Mar 2020 06:58:18 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:in-reply-to:references:user-agent:date :message-id:mime-version:content-transfer-encoding; bh=E0XOmjbPHnAuW91xiFJNrrOPMx9YrmRe7y3gCA4Ogw8=; b=Cx/D+GqtWBfaoxF+ymMnL06pUHIIHWYq6pYe+Gwjkn+1LnkdWB1dwXQng2QmiqeSje Hpv+A5QuNLBTj/xw7WHuAdcpwTX5wtFNAl6KRt1Sgsn6hmWZEZFDdmShyYfR21eFIkuZ k5sKxOMYFggaL+lOezJmsq4nMOqwQNUZyY/37ckLgdDyA8Kip+xLugOB6lpilTU5YMu5 yTXpZac4DP+uMo31JnZxhj5GM5APsnr2goQMYRurYKeAAFjcRQwd/xwH0brKAAuOXoBs JkGRscZK2BLCOcg1owQAV00So5fT34b7eXeNQc4TcDBWzzZMn6vqO2vFwASI2URdcgUA b2oQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:in-reply-to:references :user-agent:date:message-id:mime-version:content-transfer-encoding; bh=E0XOmjbPHnAuW91xiFJNrrOPMx9YrmRe7y3gCA4Ogw8=; b=dvkofyCGj2ldaPzn19+wIlqhtcT9j7I/ndVxy1OA/dlIXXGGIp28Rv/QN/WirNh9qH 5exRGmxTJaeDS5OsP0o5qd3/i61EHPmVUKKkNnP4HnOnPSv7YfzJ71bBkQN6TRyNoM8t x1NNakPFkf8viT9zx0saFJqdGxvyW1MTdL+0Kso1iJF1z2CJBXDQRTzf1yirvIodrpdY 4TrsXYI1Yee9j9TelGcD4q0mVkkb3HHhBsIln7c0X85dERtlliZaEMITV54Ce3+Y60W3 JviAWFNWzWAD4o5vspIrqS9joet5hsSA1u2XeS5c9dX19GrYUK+gSQMnWR5qWkSMOUik Bc2w== X-Gm-Message-State: ANhLgQ1mPtH9K41XlqSLeQ7nX0qgKbXrvXcMopqubzLYXdjRWo6g25Gj 2QFKS9SmPTrVL4HsuC+rDE8XFJuD X-Google-Smtp-Source: ADFU+vsN6H5lxmo9e4Q4mgjsdA3WVo9A2nMsr3dteCqqRP716me0gdo4t4mXpHYFkHdVwE+LeinzeA== X-Received: by 2002:a2e:96cf:: with SMTP id d15mr7863404ljj.30.1584107897304; Fri, 13 Mar 2020 06:58:17 -0700 (PDT) Original-Received: from osv.localdomain ([89.175.180.246]) by smtp.gmail.com with ESMTPSA id f10sm15850639ljn.44.2020.03.13.06.58.16 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 13 Mar 2020 06:58:16 -0700 (PDT) In-Reply-To: <83r1xw8vyu.fsf@gnu.org> (Eli Zaretskii's message of "Fri, 13 Mar 2020 11:06:49 +0200") X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2a00:1450:4864:20::22a X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.23 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-mx.org@gnu.org Original-Sender: "help-gnu-emacs" Xref: news.gmane.io gmane.emacs.help:122576 Archived-At: Eli Zaretskii writes: >> From: Sergey Organov >> Cc: help-gnu-emacs@gnu.org >> Date: Fri, 13 Mar 2020 09:48:11 +0300 >> >> (let ((buf (get-buffer-create "test encodings"))) >> (with-current-buffer buf >> (erase-buffer) >> (insert "Encoding windows-1251: " >> (propertize "привет\n" 'charset 'windows-1251)) >> (insert "Encoding unicode: " >> (propertize "привет\n" 'charset 'unicode))) >> (switch-to-buffer-other-window buf)) >> >> What I see in "emacs -Q" is attached as Emacs window snapshot. Please >> notice how two strings look very different where encodings differ. What >> I see in my "regular" Emacs is almost the same, just in larger font >> size. >> >> The question is why Emacs doesn't use the default font for windows-1251 >> encoding when the font definitely has all the needed glyphs? [...] > FWIW, I cannot reproduce this on my system: I see the same font being > used in both cases. But maybe this is system-dependent in some ways, > or maybe the fonts you have installed affect this. So I think you > should report all this (including the information I requested above) > as part of a bug report, using "M-x report-emacs-bug", and let's take > it from there. I've installed Emacs 28.0.50 snapshot and behavior remains the same as in 26.1, so if it's a bug, it's still there in very recent versions. Thanks, -- Sergey