From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Stefan Kangas Newsgroups: gmane.emacs.bugs Subject: bug#17792: 24.3; hintstyle specified via fontconfig is ignored by Emacs Date: Wed, 12 Aug 2020 11:50:26 -0700 Message-ID: References: <874mzki66x.fsf@gentoo.i-did-not-set--mail-host-address--so-tickle-me> Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="29993"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) Cc: 17792-done@debbugs.gnu.org To: yynyygy@gmail.com Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Wed Aug 12 20:54:27 2020 Return-path: Envelope-to: geb-bug-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 1k5vtJ-0007ct-Qb for geb-bug-gnu-emacs@m.gmane-mx.org; Wed, 12 Aug 2020 20:54:25 +0200 Original-Received: from localhost ([::1]:40600 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1k5vtI-0007tj-PR for geb-bug-gnu-emacs@m.gmane-mx.org; Wed, 12 Aug 2020 14:54:24 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:51052) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1k5vq3-0000do-VZ for bug-gnu-emacs@gnu.org; Wed, 12 Aug 2020 14:51:04 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:34028) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1k5vq3-0004gh-Id for bug-gnu-emacs@gnu.org; Wed, 12 Aug 2020 14:51:03 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1k5vq3-0007wJ-Hd for bug-gnu-emacs@gnu.org; Wed, 12 Aug 2020 14:51:03 -0400 Resent-From: Stefan Kangas Original-Sender: "Debbugs-submit" Resent-To: bug-gnu-emacs@gnu.org Resent-Date: Wed, 12 Aug 2020 18:51:03 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: cc-closed 17792 X-GNU-PR-Package: emacs Mail-Followup-To: 17792@debbugs.gnu.org, stefan@marxist.se, yynyygy@gmail.com Original-Received: via spool by 17792-done@debbugs.gnu.org id=D17792.159725823630452 (code D ref 17792); Wed, 12 Aug 2020 18:51:03 +0000 Original-Received: (at 17792-done) by debbugs.gnu.org; 12 Aug 2020 18:50:36 +0000 Original-Received: from localhost ([127.0.0.1]:45566 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1k5vpc-0007v6-0B for submit@debbugs.gnu.org; Wed, 12 Aug 2020 14:50:36 -0400 Original-Received: from mail-yb1-f182.google.com ([209.85.219.182]:38683) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1k5vpY-0007u9-BZ for 17792-done@debbugs.gnu.org; Wed, 12 Aug 2020 14:50:32 -0400 Original-Received: by mail-yb1-f182.google.com with SMTP id e187so1918536ybc.5 for <17792-done@debbugs.gnu.org>; Wed, 12 Aug 2020 11:50:32 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:in-reply-to:references:user-agent :mime-version:date:message-id:subject:to:cc; bh=cPKON/fjuTmZJtWOgwQNpdMrqwCbL+gR/+fzuR/OZx4=; b=hqyhhiPuYzOSw6W2s57+6vetLUc13jJ2GA3tfjXnmLzQH13eXUMfagUiun4GtwJYmQ 1Gz/T0oZHNEgWWFGknos1uqkQiCkcaoFA1hFkpYy0cO1EAMmdowBGdKytdXqD4dkYhSZ BsXg5K5R3pY1Sii4U2ssaiU3jWvZeciYHhUAwmhkiGUmLO/bilzCcFaTrEcz4LRbK0XZ Eur5zl8XwaY6O5irmL1uc38KCsQ5Nz7oOSX/f/ck4YWaJ4UgBT8OsQBFSxdRdiAahHn5 C3pleVthbRyfA9KJEclwPEi7gcZyPHKbkZVrq5gomOFIIpUplj+Fg/6ZYr7yHZMOOC3z BmWw== X-Gm-Message-State: AOAM532cAiVYEPlctp4hlCi++OSAg6fOw+IIr9tWUoqsDdiPjpriHkeI Vt1HNVqjM6MC0KbG+Hdqu/XwwG+qtfjJ+/2gJ0M= X-Google-Smtp-Source: ABdhPJyJZM98QdsSzq914LhFSugjcaCQsjzAdlpklufWdQr6sgYsg53zLhfESNGkPlVl/5rDIvs+Gr4jOR3wFsnRFQE= X-Received: by 2002:a25:4609:: with SMTP id t9mr1060621yba.231.1597258226865; Wed, 12 Aug 2020 11:50:26 -0700 (PDT) Original-Received: from 753933720722 named unknown by gmailapi.google.com with HTTPREST; Wed, 12 Aug 2020 11:50:26 -0700 In-Reply-To: (Stefan Kangas's message of "Thu, 26 Sep 2019 16:10:40 +0200") X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.io gmane.emacs.bugs:184863 Archived-At: Stefan Kangas writes: > yynyygy@gmail.com writes: > >> I've noticed font rendering differences between Emacs and other gtk >> applications like gedit. In short, Emacs ignores hintstyle setting in >> fontconfig. I have hintstyle set to hintslight in >> ~/.config/fontconfig/fonts.conf, but I have to add 'Xft.hintstyle: >> hintslight' in Xresources to get the desired effect. >> >> The strange thing is that while ignoring hintstyle setting, Emacs still >> respect part of fontconfig settings, for example, anti-aliasing setting >> in fonts.conf will affect Emacs's font rendering. >> >> To be more precise, if I disable anti-aliasing in fonts.conf and enable >> it in Xresources, Emacs will not have anti-aliasing; if I have >> hintslight in fonts.conf and hintnone in Xresources, Emacs will use >> hintnone. >> >> I have tested with DejaVu Sans Mono 12 and Ubuntu Mono 13, but clearly >> it is not the fonts' problem. > > Is this still an issue now that harfbuzz is enabled by default on the > master branch? More information was requested, but none was given within 45 weeks, so I'm closing this bug. If this is still an issue, please reply to this email (use "Reply to all" in your email client) and we can reopen the bug report. Best regards, Stefan Kangas