From: Eli Zaretskii <eliz@gnu.org>
To: ynyaaa@gmail.com
Cc: 25863@debbugs.gnu.org
Subject: bug#25863: 25.1; garbage display by small image
Date: Sat, 25 Feb 2017 11:06:58 +0200 [thread overview]
Message-ID: <8360jyskp9.fsf@gnu.org> (raw)
In-Reply-To: <871sum1wrb.fsf@gmail.com> (ynyaaa@gmail.com)
> From: ynyaaa@gmail.com
> Cc: 25863@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?
next prev parent reply other threads:[~2017-02-25 9:06 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-02-24 15:39 bug#25863: 25.1; garbage display by small image ynyaaa
2017-02-24 18:20 ` Eli Zaretskii
2017-02-25 8:48 ` ynyaaa
2017-02-25 9:06 ` Eli Zaretskii [this message]
2017-02-25 10:11 ` ynyaaa
2017-02-25 12:19 ` Eli Zaretskii
2017-02-25 14:05 ` Eli Zaretskii
2017-02-25 23:59 ` ynyaaa
2017-02-26 15:38 ` Eli Zaretskii
2020-08-04 9:15 ` Lars Ingebrigtsen
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=8360jyskp9.fsf@gnu.org \
--to=eliz@gnu.org \
--cc=25863@debbugs.gnu.org \
--cc=ynyaaa@gmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/emacs.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).