bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#40845: SVG rendering issues


From: Eli Zaretskii
Subject: bug#40845: SVG rendering issues
Date: Sun, 23 Aug 2020 15:23:33 +0300

> Date: Sun, 23 Aug 2020 14:19:28 +0200 (CEST)
> From: Alan Third <alan@idiocy.org>
> Cc: cpitclaudel@gmail.com, 40845@debbugs.gnu.org, pipcet@gmail.com
> 
> *** The background and foreground of images now default to face
> colors.  When an image doesn't specify a foreground or background
> color, Emacs now uses colors from the face used to draw the
> surrounding text instead of the frame's default colors.
> 
> To load images with the default frame colors use the ':foreground'
> and ':background' image attributes, for example:
> 
>     (create-image "filename" nil nil
>                   :foreground (face-attribute 'default :foreground)
>                   :background (face-attribute 'default :background))
> 
> This change doesn't affect image types that do not support foreground
> and background colors, such as png or jpeg.

Almost perfect: I would suggest to modify the last sentence so that it
tells which types of images do support this feature.

Thanks.





reply via email to

[Prev in Thread] Current Thread [Next in Thread]