From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.help Subject: Re: [ISSUE] there is a horizontal line in middle of text-property displayed image? Date: Thu, 15 Sep 2022 09:22:41 +0300 Message-ID: <8335ct17im.fsf@gnu.org> References: <83bkrk5yme.fsf@gnu.org> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="37904"; mail-complaints-to="usenet@ciao.gmane.io" To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Thu Sep 15 08:27:49 2022 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1oYiLk-0009ej-Qf for geh-help-gnu-emacs@m.gmane-mx.org; Thu, 15 Sep 2022 08:27:48 +0200 Original-Received: from localhost ([::1]:42354 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oYiLj-0002O1-A1 for geh-help-gnu-emacs@m.gmane-mx.org; Thu, 15 Sep 2022 02:27:47 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:51574) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oYiGv-0002Gc-JF for help-gnu-emacs@gnu.org; Thu, 15 Sep 2022 02:22:49 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]:33474) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oYiGv-0000ag-AJ for help-gnu-emacs@gnu.org; Thu, 15 Sep 2022 02:22:49 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=References:Subject:In-Reply-To:To:From:Date: mime-version; bh=AQjWJ/Uv4kK/cRY4Q/JuoKfdXG8gQ+ncYEMhSda8kKg=; b=aBBiCkQYvrct RBMpHdLPGi8L7jsEXMTnN/1qB3bkn9PdYRhyzfpb1I6fk+Vgrv3merw6Ez87splLxRC/lrxnRamup pxw+2476YK50IRtkaiZT1RDAw1q/C2609pKKDNjVlRvbm0gTRHxj1acKsommEuUvmDzDh8hxaINM5 7gXzrH+mFNx35kW6e4R7gRYqiMFKosdlIeyvWviKYQEbKnq7knwHspzRH1BrZB7vogio3BHbELcfG 3pI5AUjWv/Y1GiOrGbHwX4wObZmIMvDvwsb69xrlYy0Y3ZMmGmypWPQdCJoAhv9Y1Cn0ZocUizpI+ TfhmfOXH8bf+XcdQmex6rA==; Original-Received: from [87.69.77.57] (port=3713 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oYiGu-0001PO-81 for help-gnu-emacs@gnu.org; Thu, 15 Sep 2022 02:22:48 -0400 In-Reply-To: X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: "help-gnu-emacs" Xref: news.gmane.io gmane.emacs.help:139471 Archived-At: > From: "Christopher M. Miles" > Cc: help-gnu-emacs@gnu.org > Date: Tue, 13 Sep 2022 09:56:58 +0800 > > > I tried to reproduce this with some random image file, but didn't see > > any such center-line. > > Not image file, I use org-mode's command ~org-toggle-inline-images~ to > display image links are also fine has no center-line. But images > displayed in text-property has center-line. *NOTE*: happens on > text-property displayed images. > > #+begin_src emacs-lisp > (put-text-property start end > 'display (create-image thumbnail nil nil :ascent 'center :max-height thumbnail-size)) > #+end_src If this is specific to some Org feature, then perhaps a better place for this is the Org mailing list?