From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Po Lu via "Bug reports for GNU Emacs, the Swiss army knife of text editors" Newsgroups: gmane.emacs.bugs Subject: bug#73082: 30; Inconsistent Stipple Support Date: Sat, 07 Sep 2024 14:51:05 +0800 Message-ID: <87v7z8q7mu.fsf@yahoo.com> References: <9261EBC1-A513-4E89-A734-037E75F25E99@gmail.com> <86wmjoyoon.fsf@gnu.org> Reply-To: Po Lu Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="23847"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Cc: JD Smith , 73082@debbugs.gnu.org To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sat Sep 07 08:52:24 2024 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 1smpJ1-000622-Qz for geb-bug-gnu-emacs@m.gmane-mx.org; Sat, 07 Sep 2024 08:52:24 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1smpIn-00016O-0C; Sat, 07 Sep 2024 02:52:09 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1smpIk-00014Q-Dq for bug-gnu-emacs@gnu.org; Sat, 07 Sep 2024 02:52:07 -0400 Original-Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1smpIf-0001nK-Uk for bug-gnu-emacs@gnu.org; Sat, 07 Sep 2024 02:52:03 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=debbugs.gnu.org; s=debbugs-gnu-org; h=MIME-Version:Date:References:In-Reply-To:From:To:Subject; bh=TDAZUdZEpYg9aAAC3teejuBXlIiharTwoOmXM0Ufz1Q=; b=ZoBqpqhVQULWrp1RjcHoVbaJskvDlcXxggVFHbJ/69f61JoMLMfdcAsPq9rvE5+lXuUy+JSxwZRGVzhwsiE0KxlA4tN//2UFv94txZRf29rrSJf4S/m3IRBo+B25i0mcxfh4bhHjRoKPB3FpH+v6mdk4Ezk0lIUIFwi7JSjhWrhsrahCtNiHHRZIsQEPPhkOMXhvdjSZ56dhwzLMvgKK2eKKV0rm1HZiIxFvrbGmeG0q18y4cUnE1eMz67/t/Vm4e/yr13X27x1bp+c2d0tx17shXjnajRkFrQ6Y9NNoicJRjHW3kUr+K1ZIXtoNzqyAyyuwXAvEhwKFyFolhd/gfQ==; Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1smpIg-0007Lp-Ap for bug-gnu-emacs@gnu.org; Sat, 07 Sep 2024 02:52:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Po Lu Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 07 Sep 2024 06:52:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 73082 X-GNU-PR-Package: emacs Original-Received: via spool by 73082-submit@debbugs.gnu.org id=B73082.172569188428208 (code B ref 73082); Sat, 07 Sep 2024 06:52:02 +0000 Original-Received: (at 73082) by debbugs.gnu.org; 7 Sep 2024 06:51:24 +0000 Original-Received: from localhost ([127.0.0.1]:54587 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1smpI3-0007Ku-Q1 for submit@debbugs.gnu.org; Sat, 07 Sep 2024 02:51:24 -0400 Original-Received: from sonic314-22.consmr.mail.ne1.yahoo.com ([66.163.189.148]:44747) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1smpI1-0007Kc-Mt for 73082@debbugs.gnu.org; Sat, 07 Sep 2024 02:51:22 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1725691875; bh=TDAZUdZEpYg9aAAC3teejuBXlIiharTwoOmXM0Ufz1Q=; h=From:To:Cc:Subject:In-Reply-To:References:Date:From:Subject:Reply-To; b=OhNDVFSFjfuAKlufSl+2OgxaekvaUWHql/qh3CRhQH5HKHhvV0QQSxD5/P8lpFsG4VyNgeN588cFJtgXJ1AnCNNgq0OFOb9u35RIIyA8gWJdFe8cO7L2vF5DQedKFqKAMi4MzD+ic6JBqQuvX+DBKCfC+p3VAhhxq6ZD97SYmF5H+z9z8QBn9Qf41eWvk0P4y6peKYjJGZWJVY8Vgt2WOB7/0kUgPdRlwXbyfumC/RCly/deELRtbHAdeRLCzqsMHYQ7pV+wxOmWV7gdKD1UgJ0Vg5L/xkSfaW5hgWuWEDG7Wk4fF/9q/kVrlW3EsZ+Hg+ktltyxhZcG2TtDXhQHAQ== X-SONIC-DKIM-SIGN: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1725691875; bh=NfJA8k31Qd8SOzTxcrbBicKfXnHZ8AXY1xbJVnZ6119=; h=X-Sonic-MF:From:To:Subject:Date:From:Subject; b=LeA7RpgJqIAgXUUpGNVgOqjomgzJKPu+CenaxpSs/HbKdvo+H0Af2TRod65FudPGJFdrFJP2DZ5L8hvMYQh4dHyLFQDM7xPqy1b9zke+MouxgThi+gzGfomMbfo/gWLRCn+u6Gp6OxQIImdngN6DipKwjdxT8ct2S6cbewO6ejrl2AIUAnuSF/pJnn7LRIAgSmTdG7lJTeEPyMmQygG0lc3ZqV8OLwUHf/M+mUN81PpqK0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by sonic314.consmr.mail.ne1.yahoo.com with HTTP; Sat, 7 Sep 2024 06:51:15 +0000 Original-Received: by hermes--production-sg3-fc85cddf6-nnv8r (Yahoo Inc. Hermes SMTP Server) with ESMTPA ID 4f05c14405aee1ec7df20b4b2ea43fed; Sat, 07 Sep 2024 06:51:12 +0000 (UTC) In-Reply-To: <86wmjoyoon.fsf@gnu.org> (Eli Zaretskii's message of "Sat, 07 Sep 2024 09:15:36 +0300") X-Mailer: WebService/1.1.22645 mail.backend.jedi.jws.acl:role.jedi.acl.token.atz.jws.hermes.yahoo 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-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.bugs:291341 Archived-At: Eli Zaretskii writes: >> Cc: Po Lu >> From: JD Smith >> Date: Fri, 6 Sep 2024 17:58:02 -0400 >> >> (let* ((w (window-font-width)) >> (stipple `(,w 1 ,(apply #'unibyte-string (make-list (/ (+ w 7) 8) 186))))) >> (insert "\n" (propertize (concat (make-string 15 ?\s) >> "THIS IS A TEST" >> (make-string 15 ?\s)) >> 'face `(:background "red" :foreground "blue" :stipple ,stipple)))) >> >> Only some Emacs 30 builds correctly render this simple stipple. There has been some progress on :stipple support recently, but it remains incomplete. To my knowledge, the current situation for :stipple support in Emacs 30 is as follows: >> NS (partially working): Commit ef6ffbdc79 from last May provided a partial fix, but stipples are black and white only (bug#70712) >> Windows (working?): patched in June (bug#71159) >> PGTK (working): incorrect stipple display patched July, 2023 (bug#64969) >> GTK, non-Cairo (working): appears to be working correctly >> GTK + Cairo (not working uniformly): Stipples are reported to be missing with some Cairo builds of Emacs 30 >> Other X11 builds (?): Unsure if these are supported (but suspect they are given the legacy of stipple) > > The MS-Windows build of the emacs-30 branch here shows the display you > expected. You should add Haiku and Android to your list, as Emacs supports stipples on both of these window systems. (And on the latter they were in fact implemented for your package.) I am also interested to know precisely which Cairo builds fail to display them, the stipple implementations being virtually identical across the PGTK and the X + Cairo builds.