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

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

bug#25863: 25.1; garbage display by small image


From: Eli Zaretskii
Subject: bug#25863: 25.1; garbage display by small image
Date: Sat, 25 Feb 2017 14:19:19 +0200

> From: address@hidden
> Cc: address@hidden
> Date: Sat, 25 Feb 2017 19:11:41 +0900
> 
> >   "-outline-Courier New-normal-normal-normal-mono-13-*-*-*-c-*-iso8859-1"
> >
> > How to change the test case to reproduce the problem with this font,
> > please?
> 
> Starting emacs -Q and (set-frame-font
> "-outline-Courier New-normal-normal-normal-mono-13-*-*-*-c-*-iso8859-1"),
> the form below displayed garbage.
> The value for 'h' may be modified between 9 and 16.
> 
> (let ((h 16))
>   (switch-to-buffer (generate-new-buffer "temp"))
>   (insert-image (create-image (concat (format "P4\n8 %d\n" h)
>                                       (make-string h 127))
>                               'pbm t))
>   (insert ?g)
>   (redisplay)
>   (delete-char -1))

Thanks, I see it now.





reply via email to

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