aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlan Third2025-07-08 18:06:14 +0100
committerAlan Third2025-07-10 17:54:33 +0100
commit2e3ee3e44803849b085a498fd4e64f84243e6c28 (patch)
tree57062226cb50cd9f2459c4f50212fcfb3d2b32a6
parent9f5d17cd7219f72066488c6c57f77e4db9ca2563 (diff)
downloademacs-2e3ee3e44803849b085a498fd4e64f84243e6c28.tar.gz
emacs-2e3ee3e44803849b085a498fd4e64f84243e6c28.zip
Update documentation and NEWS with SVG changes (bug#77841)
* doc/lispref/display.texi (SVG Images): * etc/NEWS: Document changes to SVG foreground color handling.
-rw-r--r--doc/lispref/display.texi2
-rw-r--r--etc/NEWS11
2 files changed, 12 insertions, 1 deletions
diff --git a/doc/lispref/display.texi b/doc/lispref/display.texi
index 25ef83935c1..d044763523b 100644
--- a/doc/lispref/display.texi
+++ b/doc/lispref/display.texi
@@ -6502,7 +6502,7 @@ properties:
6502@table @code 6502@table @code
6503@item :foreground @var{foreground} 6503@item :foreground @var{foreground}
6504@var{foreground}, if non-@code{nil}, should be a string specifying a 6504@var{foreground}, if non-@code{nil}, should be a string specifying a
6505color, which is used as the image's foreground color. If the value is 6505color, which is used as the CSS `currentcolor' value. If the value is
6506@code{nil}, it defaults to the current face's foreground color. 6506@code{nil}, it defaults to the current face's foreground color.
6507 6507
6508@item :background @var{background} 6508@item :background @var{background}
diff --git a/etc/NEWS b/etc/NEWS
index f4e64c0851f..11b5b38fa9c 100644
--- a/etc/NEWS
+++ b/etc/NEWS
@@ -511,6 +511,17 @@ or strings. If set to 'on-mismatch', mismatched parens inside comments
511and strings will not be highlighted. If set to nil (the default), 511and strings will not be highlighted. If set to nil (the default),
512highlight the parens wherever they are. 512highlight the parens wherever they are.
513 513
514** Change in SVG foreground color handling.
515SVG images no longer have the 'fill' attribute set to the value of
516':foreground' or the current text foreground color. The 'currentcolor'
517CSS attribute continues to be set as before.
518
519This change should result in more consistent display of SVG images.
520
521To use the :foreground or current text color ensure the 'fill' attribute
522in the SVG is set to 'currentcolor', or set the image spec's ':css'
523value to 'svg {fill: currentcolor;}'.
524
514 525
515* Editing Changes in Emacs 31.1 526* Editing Changes in Emacs 31.1
516 527