From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#25863: 25.1; garbage display by small image Date: Sat, 25 Feb 2017 11:06:58 +0200 Message-ID: <8360jyskp9.fsf@gnu.org> References: <871sum1wrb.fsf@gmail.com> Reply-To: Eli Zaretskii NNTP-Posting-Host: blaine.gmane.org X-Trace: blaine.gmane.org 1488013702 8424 195.159.176.226 (25 Feb 2017 09:08:22 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Sat, 25 Feb 2017 09:08:22 +0000 (UTC) Cc: 25863@debbugs.gnu.org To: ynyaaa@gmail.com Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sat Feb 25 10:08:14 2017 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1chYKq-0001Hg-Bh for geb-bug-gnu-emacs@m.gmane.org; Sat, 25 Feb 2017 10:08:12 +0100 Original-Received: from localhost ([::1]:41863 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1chYKv-0000l0-Vj for geb-bug-gnu-emacs@m.gmane.org; Sat, 25 Feb 2017 04:08:18 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:58406) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1chYKm-0000kg-T7 for bug-gnu-emacs@gnu.org; Sat, 25 Feb 2017 04:08:13 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1chYKg-0006NR-Rv for bug-gnu-emacs@gnu.org; Sat, 25 Feb 2017 04:08:07 -0500 Original-Received: from debbugs.gnu.org ([208.118.235.43]:56966) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1chYKg-0006NG-O6 for bug-gnu-emacs@gnu.org; Sat, 25 Feb 2017 04:08:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1chYKg-0005LO-Gs for bug-gnu-emacs@gnu.org; Sat, 25 Feb 2017 04:08:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 25 Feb 2017 09:08:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 25863 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 25863-submit@debbugs.gnu.org id=B25863.148801365320506 (code B ref 25863); Sat, 25 Feb 2017 09:08:02 +0000 Original-Received: (at 25863) by debbugs.gnu.org; 25 Feb 2017 09:07:33 +0000 Original-Received: from localhost ([127.0.0.1]:55165 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1chYKC-0005Kg-Sg for submit@debbugs.gnu.org; Sat, 25 Feb 2017 04:07:33 -0500 Original-Received: from eggs.gnu.org ([208.118.235.92]:39012) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1chYKB-0005KU-0F for 25863@debbugs.gnu.org; Sat, 25 Feb 2017 04:07:31 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1chYK2-00067G-I8 for 25863@debbugs.gnu.org; Sat, 25 Feb 2017 04:07:25 -0500 Original-Received: from fencepost.gnu.org ([2001:4830:134:3::e]:53353) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1chYK2-00067C-El; Sat, 25 Feb 2017 04:07:22 -0500 Original-Received: from 84.94.185.246.cable.012.net.il ([84.94.185.246]:2926 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1chYK1-0007Ln-Ib; Sat, 25 Feb 2017 04:07:22 -0500 In-reply-to: <871sum1wrb.fsf@gmail.com> (ynyaaa@gmail.com) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 208.118.235.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.org gmane.emacs.bugs:129771 Archived-At: > 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?