From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.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: Thu, 26 Sep 2019 16:10:40 +0200 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: blaine.gmane.org; posting-host="blaine.gmane.org:195.159.176.226"; logging-data="17008"; mail-complaints-to="usenet@blaine.gmane.org" Cc: 17792@debbugs.gnu.org To: yynyygy@gmail.com Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Thu Sep 26 16:13:11 2019 Return-path: Envelope-to: geb-bug-gnu-emacs@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 1iDUW6-0004Hb-Cv for geb-bug-gnu-emacs@m.gmane.org; Thu, 26 Sep 2019 16:13:10 +0200 Original-Received: from localhost ([::1]:36380 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iDUW5-0006Fp-0a for geb-bug-gnu-emacs@m.gmane.org; Thu, 26 Sep 2019 10:13:09 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:32831) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iDUVX-0005wU-Bc for bug-gnu-emacs@gnu.org; Thu, 26 Sep 2019 10:13:02 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1iDUV2-0002DQ-AA for bug-gnu-emacs@gnu.org; Thu, 26 Sep 2019 10:12:34 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:35326) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1iDUV0-0002AZ-CC for bug-gnu-emacs@gnu.org; Thu, 26 Sep 2019 10:12:03 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1iDUUz-0006rK-N8 for bug-gnu-emacs@gnu.org; Thu, 26 Sep 2019 10:12:01 -0400 X-Loop: help-debbugs@gnu.org In-Reply-To: <874mzki66x.fsf@gentoo.i-did-not-set--mail-host-address--so-tickle-me> Resent-From: Stefan Kangas Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 26 Sep 2019 14:12:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 17792 X-GNU-PR-Package: emacs Original-Received: via spool by 17792-submit@debbugs.gnu.org id=B17792.156950706426299 (code B ref 17792); Thu, 26 Sep 2019 14:12:01 +0000 Original-Received: (at 17792) by debbugs.gnu.org; 26 Sep 2019 14:11:04 +0000 Original-Received: from localhost ([127.0.0.1]:44147 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iDUU3-0006q6-ET for submit@debbugs.gnu.org; Thu, 26 Sep 2019 10:11:04 -0400 Original-Received: from mail-pf1-f174.google.com ([209.85.210.174]:34856) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iDUTx-0006pV-Hc for 17792@debbugs.gnu.org; Thu, 26 Sep 2019 10:11:02 -0400 Original-Received: by mail-pf1-f174.google.com with SMTP id 205so1939158pfw.2 for <17792@debbugs.gnu.org>; Thu, 26 Sep 2019 07:10:57 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:from:date:message-id:subject:to:cc; bh=Ynmjdh8X8aEmBNnr7WO7AxcpJMuhKD1U1Ee7RQOOSuQ=; b=eIsq10Q6PjmKU9eIhnRznHKjnFtkUj34ADAY3laq7RdL6gKH5mu8PQ8isHQyNdvP+G Aa6zieapl+wfWh9ojW2zYee0xFpKcXn8TVtkNzPEdi6TBi/zbA/QV4GjwLq+JE7zpHBy ExXcCjZ4mL6ou1OuHLrNqeMtg/p+f0ny/W6pvQWQiOI16N/0raGfEMWJQqd1Ks9ZGa3L aTqAE3WEFwW2fMyoLve0cNlSUjj+z6tFXIbfGIhqKKCmLdQv7R/eb8dW2WxLZVeREXy1 jSrUcwCrwlSA2x/ybtNQ4/bwJXsjey3wegNMZCHosY113mUXX6xm6Y9fcwwhgpfXZtiG Glbw== X-Gm-Message-State: APjAAAVzdPFYpHAQHVKV9+F1Lw4Pz6/BOuXGDBpawZBQJnjJRkLbLxGy kpPF+KZivhyDGpEBgzqA3+xm+/Ec2UKUPbLFHe8= X-Google-Smtp-Source: APXvYqz16qI6xa8HnAEQXQmo8CkLBqjzZQ8F2Nk3xCG8CQLc/bY0TcizGmeAdlfiH87JGMJXHpCJp2xnxCblpmuweEA= X-Received: by 2002:a62:e917:: with SMTP id j23mr3930993pfh.50.1569507051902; Thu, 26 Sep 2019 07:10:51 -0700 (PDT) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 209.51.188.43 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.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.org gmane.emacs.bugs:167252 Archived-At: 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? Best regards, Stefan Kangas