all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* bug#73082: 30; Inconsistent Stipple Support
@ 2024-09-06 21:58 JD Smith
  2024-09-07  6:15 ` Eli Zaretskii
  2024-09-07  6:19 ` Arash Esbati
  0 siblings, 2 replies; 9+ messages in thread
From: JD Smith @ 2024-09-06 21:58 UTC (permalink / raw)
  To: 73082; +Cc: Po Lu

[-- Attachment #1: Type: text/plain, Size: 1343 bytes --]

The :stipple face attribute is not consistently supported across all Emacs 30 builds, with incorrect or missing stipple display for NS and GTK+Cairo builds.  

The following test of :stipple should lead to an image similar to the attached.

(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)



[-- Attachment #2.1: Type: text/html, Size: 7740 bytes --]

[-- Attachment #2.2: image.png --]
[-- Type: image/png, Size: 12971 bytes --]

^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2024-09-19 15:53 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-09-06 21:58 bug#73082: 30; Inconsistent Stipple Support JD Smith
2024-09-07  6:15 ` Eli Zaretskii
2024-09-07  6:51   ` Po Lu via Bug reports for GNU Emacs, the Swiss army knife of text editors
2024-09-07 12:50     ` JD Smith
2024-09-07 13:17       ` JD Smith
2024-09-13 18:07         ` JD Smith
2024-09-14  0:33           ` Po Lu via Bug reports for GNU Emacs, the Swiss army knife of text editors
2024-09-19 15:53             ` JD Smith
2024-09-07  6:19 ` Arash Esbati

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.