GNU bug report logs -
#25863
25.1; garbage display by small image
Previous Next
Reported by: ynyaaa <at> gmail.com
Date: Fri, 24 Feb 2017 15:40:02 UTC
Severity: normal
Tags: confirmed
Merged with 53217
Found in versions 25.1, 27.2
Full log
Message #14 received at 25863 <at> debbugs.gnu.org (full text, mbox):
> From: ynyaaa <at> gmail.com
> Cc: 25863 <at> debbugs.gnu.org
> Date: Sat, 25 Feb 2017 17:48:40 +0900
>
> >> (progn
> >> (switch-to-buffer (generate-new-buffer "temp"))
> >> (insert-image (create-image (concat "P4\n8 22\n" (make-string 22 127))
> >> 'pbm t))
> >> (insert ?g)
> >> (redisplay)
> >> (delete-char -1))
> >
> > Not reproducible here.
>
> Reducing the height of the image or enlarging the font may show garbages.
> Otherwise I have no idea.
>
> With emacs -Q, the font used is
> "-outline-Courier New-normal-normal-normal-mono-20-*-*-*-c-*-iso8859-1".
> In this case, garbages are shown with images of height from 11 to 22.
>
> Setting the font to
> "-outline-Courier New-normal-normal-normal-mono-16-*-*-*-c-*-iso8859-1".
> In this case, garbages are shown with images of height from 9 to 18.
I'm not sure I understand how to change the test case to account for
the above. Evaluating "(face-font 'default)" in "emacs -Q" produces
this:
"-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?
This bug report was last modified 3 years and 158 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.