diff options
| author | Alan Third | 2025-07-08 18:06:14 +0100 |
|---|---|---|
| committer | Alan Third | 2025-07-10 17:54:33 +0100 |
| commit | 2e3ee3e44803849b085a498fd4e64f84243e6c28 (patch) | |
| tree | 57062226cb50cd9f2459c4f50212fcfb3d2b32a6 | |
| parent | 9f5d17cd7219f72066488c6c57f77e4db9ca2563 (diff) | |
| download | emacs-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.texi | 2 | ||||
| -rw-r--r-- | etc/NEWS | 11 |
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 |
| 6505 | color, which is used as the image's foreground color. If the value is | 6505 | color, 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} |
| @@ -511,6 +511,17 @@ or strings. If set to 'on-mismatch', mismatched parens inside comments | |||
| 511 | and strings will not be highlighted. If set to nil (the default), | 511 | and strings will not be highlighted. If set to nil (the default), |
| 512 | highlight the parens wherever they are. | 512 | highlight the parens wherever they are. |
| 513 | 513 | ||
| 514 | ** Change in SVG foreground color handling. | ||
| 515 | SVG images no longer have the 'fill' attribute set to the value of | ||
| 516 | ':foreground' or the current text foreground color. The 'currentcolor' | ||
| 517 | CSS attribute continues to be set as before. | ||
| 518 | |||
| 519 | This change should result in more consistent display of SVG images. | ||
| 520 | |||
| 521 | To use the :foreground or current text color ensure the 'fill' attribute | ||
| 522 | in the SVG is set to 'currentcolor', or set the image spec's ':css' | ||
| 523 | value to 'svg {fill: currentcolor;}'. | ||
| 524 | |||
| 514 | 525 | ||
| 515 | * Editing Changes in Emacs 31.1 | 526 | * Editing Changes in Emacs 31.1 |
| 516 | 527 | ||