From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.ciao.gmane.io!not-for-mail From: Robert Pluim Newsgroups: gmane.emacs.devel Subject: Re: master d8da850: Document cairo-related fallout to font-backend settings Date: Mon, 20 Jan 2020 22:50:27 +0100 Message-ID: References: <20200120162048.23970.80216@vcs0.savannah.gnu.org> <20200120162050.08A5421148@vcs0.savannah.gnu.org> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="ciao.gmane.io:159.69.161.202"; logging-data="97311"; mail-complaints-to="usenet@ciao.gmane.io" Cc: Emacs developers To: Stefan Kangas Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Mon Jan 20 22:51:31 2020 Return-path: Envelope-to: ged-emacs-devel@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 1itexG-000PG1-C1 for ged-emacs-devel@m.gmane-mx.org; Mon, 20 Jan 2020 22:51:30 +0100 Original-Received: from localhost ([::1]:44492 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1itexF-000731-Cm for ged-emacs-devel@m.gmane-mx.org; Mon, 20 Jan 2020 16:51:29 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:49967) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1itewL-0006Vm-B6 for emacs-devel@gnu.org; Mon, 20 Jan 2020 16:50:34 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1itewK-000243-2M for emacs-devel@gnu.org; Mon, 20 Jan 2020 16:50:33 -0500 Original-Received: from mail-wr1-x429.google.com ([2a00:1450:4864:20::429]:34542) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1itewJ-00023N-St for emacs-devel@gnu.org; Mon, 20 Jan 2020 16:50:32 -0500 Original-Received: by mail-wr1-x429.google.com with SMTP id t2so1115584wrr.1 for ; Mon, 20 Jan 2020 13:50:31 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:references:gmane-reply-to-list:date:in-reply-to :message-id:mime-version; bh=PxfG3hXM9j8VFuB+2eOxVzaquUEhHH+V3QUp1qZh9ak=; b=KReRD1P9vtSTtlVCqibZXER4dy/v8yy1PltV+7bT7bMmfnTauUebCy2FVqaM4kByCK +cmxrNVE75557fln5NRMxcgHciUVvOk6W/LKVPzSNUqWxGayONgxqUXD6UwLicb4bSzX vICWzdaXPNlzxVO70c7HKmhTkeN+DI56QxLn0ux2GPLS9Jal8SfBjuPrt65Nk1fc43Kq ohGOcNRCsWGttGzUTzXyIYDyskW9x3O22J08K1h4KANtsfsurbnqmXzwq52uu0JwccMQ XKcBs3TDHFym5XrnGoNTEFwjGMN5k0IADp7XOUSBYeT0N2YpQK2feWMSOy+VifgUJe42 vWXg== 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:references :gmane-reply-to-list:date:in-reply-to:message-id:mime-version; bh=PxfG3hXM9j8VFuB+2eOxVzaquUEhHH+V3QUp1qZh9ak=; b=tzvIBX9a9JotbmfZE6ePFkrVuxFH5s7GFAUkeikVj6LLjQym1AzstaXv7+07NobTIZ LRgbKM8U8oISttjbWAcIDYpmCj0S0n5tDe3aL32IhIdMVEyRy8HrNipJEZyRWDm+xqAy I6kfJfNuDK6UJt1Ri92mnpAAyGjoV1rYcZNkH+VCNG0eZQdHNkIBeHbq6SVz4wxO4Ivp SFkNYwxmcFzF59jlj1C9nx6Aylbtmy24jBXv2O3Qn7oFccNVQfyAEOOhAnN/m8nqgsOU lKVqS7Ntx3D4PAwFliNBCnRJeHD7qpra5wH882Q0tvb6uQJ/6eS1yDm/f80F4GSmuHmU EyeA== X-Gm-Message-State: APjAAAUeXhvIjUjtvevHjuXyy3L48xbilxFLngPVQBUYuIeNAGOPm0OO C64MBwEOlr7fUQAbLp5FVRZUWIpr X-Google-Smtp-Source: APXvYqwOex/hS0MYi6Dqe+pDk8Ur3mTNK0Sq2GLhzVDw5Wa9+8jbHp27UBvCa2iX0WT7fJjcf3B6yQ== X-Received: by 2002:adf:ec83:: with SMTP id z3mr1430253wrn.133.1579557029572; Mon, 20 Jan 2020 13:50:29 -0800 (PST) Original-Received: from rpluim-mac ([2a01:e34:ecfc:a860:f998:ee63:c23b:f59]) by smtp.gmail.com with ESMTPSA id b17sm48824830wrp.49.2020.01.20.13.50.28 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 20 Jan 2020 13:50:28 -0800 (PST) Gmane-Reply-To-List: yes In-Reply-To: (Stefan Kangas's message of "Mon, 20 Jan 2020 22:05:23 +0100") X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2a00:1450:4864:20::429 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-mx.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.io gmane.emacs.devel:244443 Archived-At: >>>>> On Mon, 20 Jan 2020 22:05:23 +0100, Stefan Kangas said: Stefan> Robert Pluim writes: >> +Note also that 'FontBackend' settings in .Xdefaults or .Xresources, or >> +'font-backend' frame parameter settings in your init files, may need >> +to be adjusted, as 'xft' is no longer a valid backend when using >> +Cairo. Use either 'ftcr' or 'ftcrhb' instead for FreeType and >> +FreeType + HarfBuzz respectively. 'x' is still a valid backend. Stefan> Should we say that FreeType + Harfbuzz is probably the correct choice Stefan> for most users, and perhaps also why? My concern is that people might Stefan> default to the shorter option and we could see unnecessary bug reports Stefan> about incorrect composition, etc. The correct choice depends on how their Emacs has been built; ftcr and ftcrhb are mutually exclusive [1](see my earlier update to the elisp manual). I guess we could say something like this: diff --git a/etc/NEWS b/etc/NEWS index 6cc392970f..55cf59283c 100644 --- a/etc/NEWS +++ b/etc/NEWS @@ -34,9 +34,9 @@ your font settings. Note also that 'FontBackend' settings in .Xdefaults or .Xresources, or 'font-backend' frame parameter settings in your init files, may need to be adjusted, as 'xft' is no longer a valid backend when using -Cairo. Use either 'ftcr' or 'ftcrhb' instead for FreeType and -FreeType + HarfBuzz respectively. 'x' is still a valid backend. - +Cairo. Use 'ftcrhb' if your Emacs was built with HarfBuzz support, +and 'ftcr' otherwise. You can this determine by checking +'system-configuration-features'. 'x' is still a valid backend. --- ** The ftx font backend driver has been removed. Footnotes: [1] My master plan to remove as many different variations as possible seems to get shot down every time I suggest it :-)