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

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

bug#38109: Updated Emacs to HEAD, consistently not scaling now


From: Lars Ingebrigtsen
Subject: bug#38109: Updated Emacs to HEAD, consistently not scaling now
Date: Fri, 08 Nov 2019 22:11:13 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux)

Alan Third <alan@idiocy.org> writes:

> OK, that makes sense. Check out the comment and code at line 2593 of
> image.c:
>
>     /* FIXME: Do we need to handle all possible bit depths?
>        XRenderFindStandardFormat supports PictStandardARGB32,
>        PictStandardRGB24, PictStandardA8, PictStandardA4,
>        PictStandardA1, and PictStandardNUM (what is this?!).
>
>        XRenderFindFormat may support more, but I don't
>        understand the documentation.  */
>     format = XRenderFindStandardFormat (display,
>                                         depth == 32 ? PictStandardARGB32
>                                         : depth == 24 ? PictStandardRGB24
>                                         : PictStandardA8);
>     *picture = XRenderCreatePicture (display, *pixmap, format, 0, &attr);

But isn't that about the depth of the screen, not the number of bits in
the image?

-- 
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no





reply via email to

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