From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Matthew Leach Newsgroups: gmane.emacs.bugs Subject: bug#23137: 25.1.50; Subpixel rendering is broken when not running under gnome-session Date: Thu, 31 Mar 2016 08:34:47 +0100 Message-ID: <8760w3t814.fsf@mattleach.net> References: <87k2kme20y.fsf@mattleach.net> <83twjqvwt1.fsf@gnu.org> <87vb45hihb.fsf@mattleach.net> <83mvphwbex.fsf@gnu.org> <8737r99edx.fsf@mattleach.net> <831t6swumh.fsf@gnu.org> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" X-Trace: ger.gmane.org 1459409724 6498 80.91.229.3 (31 Mar 2016 07:35:24 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 31 Mar 2016 07:35:24 +0000 (UTC) Cc: 23137@debbugs.gnu.org To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Thu Mar 31 09:35:11 2016 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1alX8H-00016C-00 for geb-bug-gnu-emacs@m.gmane.org; Thu, 31 Mar 2016 09:35:09 +0200 Original-Received: from localhost ([::1]:58551 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1alX8G-0004cb-7Q for geb-bug-gnu-emacs@m.gmane.org; Thu, 31 Mar 2016 03:35:08 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:45552) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1alX8D-0004bA-Fu for bug-gnu-emacs@gnu.org; Thu, 31 Mar 2016 03:35:06 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1alX8A-0000LJ-BI for bug-gnu-emacs@gnu.org; Thu, 31 Mar 2016 03:35:05 -0400 Original-Received: from debbugs.gnu.org ([208.118.235.43]:48584) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1alX8A-0000LF-7o for bug-gnu-emacs@gnu.org; Thu, 31 Mar 2016 03:35:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1alX8A-0006XW-3X for bug-gnu-emacs@gnu.org; Thu, 31 Mar 2016 03:35:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Matthew Leach Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 31 Mar 2016 07:35:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 23137 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 23137-submit@debbugs.gnu.org id=B23137.145940969025116 (code B ref 23137); Thu, 31 Mar 2016 07:35:02 +0000 Original-Received: (at 23137) by debbugs.gnu.org; 31 Mar 2016 07:34:50 +0000 Original-Received: from localhost ([127.0.0.1]:45711 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1alX7y-0006X2-D5 for submit@debbugs.gnu.org; Thu, 31 Mar 2016 03:34:50 -0400 Original-Received: from mx0.mattleach.net ([176.58.118.143]:45912) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1alX7w-0006Wu-OK for 23137@debbugs.gnu.org; Thu, 31 Mar 2016 03:34:49 -0400 Original-Received: by mx0.mattleach.net (Postfix, from userid 99) id D0B846222E; Thu, 31 Mar 2016 08:34:47 +0100 (BST) Original-Received: from spline.mattleach.net (host81-159-23-200.range81-159.btcentralplus.com [81.159.23.200]) by mx0.mattleach.net (Postfix) with ESMTPSA id A606B6222B; Thu, 31 Mar 2016 08:34:46 +0100 (BST) In-Reply-To: <831t6swumh.fsf@gnu.org> (Eli Zaretskii's message of "Wed, 30 Mar 2016 05:46:14 +0300") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.1.50 (gnu/linux) 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: 208.118.235.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-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:115797 Archived-At: --=-=-= Content-Type: text/plain Hi Eli, Eli Zaretskii writes: >> From: Matthew Leach >> Cc: 23137@debbugs.gnu.org >> Date: Tue, 29 Mar 2016 22:13:14 +0100 >> >> Eli Zaretskii writes: >> >> >> > What is "subpixel rendering"? >> >> >> >> [1] gives an overview of what it is and the 'rgba' values in [2] show >> >> how to configure it. I think MS use the term ClearType on their Windows >> >> platform. >> > >> > Then why do you think it's an Emacs problem? >> >> I think it's an Emacs problem, because it is not behaving as configured, >> even though other GTK applications do. > > What configuration options were supposed to tell Emacs to use subpixel > rendering? There are two: ~/.Xresources (attached). On some systems there is /etc/fonts/conf.avail/10-sub-pixel-*.conf and you can symlink one of those to /etc/fonts/conf.d (I have attached the one I use). The 'rgba' value in both configs controls subpixel rendering. Thanks, -- Matt --=-=-= Content-Type: application/octet-stream Content-Disposition: attachment; filename=.Xresources Content-Transfer-Encoding: base64 WGZ0LmFudGlhbGlhczogIDEKWGZ0LmhpbnRpbmc6ICAgIDEKWGZ0LmhpbnRzdHlsZTogIGhpbnRm dWxsClhmdC5sY2RmaWx0ZXI6ICBsY2RkZWZhdWx0ClhmdC5yZ2JhOiAgICAgICByZ2IKCg== --=-=-= Content-Type: application/octet-stream; charset=utf-8 Content-Disposition: attachment; filename=10-sub-pixel-rgb.conf Content-Transfer-Encoding: base64 PD94bWwgdmVyc2lvbj0iMS4wIj8+CjwhRE9DVFlQRSBmb250Y29uZmlnIFNZU1RFTSAiZm9udHMu ZHRkIj4KPGZvbnRjb25maWc+CjwhLS0gIEVuYWJsZSBzdWItcGl4ZWwgcmVuZGVyaW5nIC0tPiAK ICA8bWF0Y2ggdGFyZ2V0PSJwYXR0ZXJuIj4KICAgIDwhLS0KICAgICAgVGhpcyBjb25maWd1cmF0 aW9uIGlzIGF2YWlsYWJsZSBvbiB0aGUgbWFqb3IgZGVza3RvcCBlbnZpcm9ubWVudHMuCiAgICAg IFdlIHNob3VsZG4ndCBvdmVyd3JpdGUgaXQgd2l0aCAiYXNzaWduIiB1bmNvbmRpdGlvbmFsbHku CiAgICAgIE1vc3QgY2xpZW50cyBtYXkgcGlja3MgdXAgdGhlIGZpcnN0IHZhbHVlIG9ubHkuIHNv IHVzaW5nICJhcHBlbmQiCiAgICAgIG1heSBzaW1wbHkgd29ya3MgdG8gYXZvaWQgaXQuCiAgICAt LT4KICAgIDxlZGl0IG5hbWU9InJnYmEiIG1vZGU9ImFwcGVuZCI+PGNvbnN0PnJnYjwvY29uc3Q+ PC9lZGl0PgogIDwvbWF0Y2g+CjwvZm9udGNvbmZpZz4K --=-=-=--