[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Using images in tabs
From: |
Lars Ingebrigtsen |
Subject: |
Re: Using images in tabs |
Date: |
Thu, 19 Sep 2019 15:47:12 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux) |
Juri Linkov <address@hidden> writes:
> Meanwhile I tried to scale svg, and the result is not great.
> Scaling up makes the image blurred, and scaling down makes the
> image smeared.
Emacs calls the svg library which generates a bunch of pixels that we
then tell X (or whatever) to scale. This is always going to be blurry.
Instead if you want to scale svg properly, you have to give a :scaling
of 1 (and not :max-width etc) and then somehow instruct the svg library
to render it at whatever size you want to. Perhaps altering the XML is
the easiest...
> Another problem is that svg background is not transparent -
> it takes the background color from the default face.
The backgrounds are transparent, but we render it towards some
background or other.
--
(domestic pets only, the antidote for overdose, milk.)
bloggy blog: http://lars.ingebrigtsen.no
- Re: Using images in tabs (was: bug#37385: 27.0.50; Crash on multibyte assertion violation), (continued)
- Re: Using images in tabs (was: bug#37385: 27.0.50; Crash on multibyte assertion violation), Eli Zaretskii, 2019/09/13
- Re: Using images in tabs, Juri Linkov, 2019/09/15
- Re: Using images in tabs, Yuri Khan, 2019/09/16
- Re: Using images in tabs, Eli Zaretskii, 2019/09/16
- Re: Using images in tabs, Juri Linkov, 2019/09/16
- Re: Using images in tabs, Lars Ingebrigtsen, 2019/09/16
- Re: Using images in tabs, Juri Linkov, 2019/09/17
- Re: Using images in tabs, Robert Pluim, 2019/09/18
- Re: Using images in tabs, Lars Ingebrigtsen, 2019/09/18
- Re: Using images in tabs, Juri Linkov, 2019/09/18
- Re: Using images in tabs,
Lars Ingebrigtsen <=
- Re: Using images in tabs, Alan Third, 2019/09/20
- Re: Using images in tabs, Clément Pit-Claudel, 2019/09/16
- Re: Using images in tabs, Eli Zaretskii, 2019/09/17
- Re: Using images in tabs, Juri Linkov, 2019/09/17