emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Eli Zaretskii <eliz@gnu.org>
To: Ihor Radchenko <yantar92@gmail.com>
Cc: numbchild@gmail.com, emacs-devel@gnu.org, emacs-orgmode@gnu.org
Subject: Re: [CLOSED] text-property displayed image has a center-line when the text face has underline attribute
Date: Sun, 02 Oct 2022 14:16:17 +0300	[thread overview]
Message-ID: <83v8p21nni.fsf@gnu.org> (raw)
In-Reply-To: <CACnOyijtd=rOVfV0yz9omqv_9SWnFkNN=aAVO1qrjr2ozHhadg@mail.gmail.com> (message from Ihor Radchenko on Sun, 2 Oct 2022 18:57:56 +0800)

> From: Ihor Radchenko <yantar92@gmail.com>
> Date: Sun, 2 Oct 2022 18:57:56 +0800
> Cc: Eli Zaretskii <eliz@gnu.org>, emacs-devel@gnu.org, emacs-orgmode@gnu.org
> 
> 1. find an image file in your system
> 2. emacs -Q
> 3. M-: (erase-buffer)
> 4. Insert "askdjaklsdj lasasd"
> 5. M-: (require 'org)
> 6. M-x font-lock-mode
> 7. M-: (put-text-property (point-min) (point-max) 'face 'org-link)
> 8.  M-: (put-text-property (point-min) (point-max) 'display (create-image
> "/path/to/image" nil nil :ascent 'center :max-height 512))

Thanks.

This is because of the ":ascent 'center" part, isn't it?

What would you want Emacs to do instead in this case?


  reply	other threads:[~2022-10-02 11:16 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <m2illt5rzj.fsf@numbchild>
2022-10-01  2:53 ` Fwd: [QUESTION] why there is a horizontal line in middle of text-property displayed image? Christopher M. Miles
     [not found] ` <6337ac4e.050a0220.c05b9.7747SMTPIN_ADDED_BROKEN@mx.google.com>
2022-10-01  5:37   ` Ihor Radchenko
2022-10-01  8:55     ` Christopher M. Miles
2022-10-01  8:58     ` Christopher M. Miles
     [not found]     ` <63380111.050a0220.592f2.fab7SMTPIN_ADDED_BROKEN@mx.google.com>
2022-10-01 10:33       ` Ihor Radchenko
2022-10-01 12:45         ` Christopher M. Miles
     [not found]         ` <63383737.050a0220.63781.8825SMTPIN_ADDED_BROKEN@mx.google.com>
2022-10-02  4:17           ` Ihor Radchenko
2022-10-02  7:03             ` Fwd: [BUG] text-property displayed image has a center-line when the text face has underline attribute Christopher M. Miles
2022-10-02  7:41               ` Eli Zaretskii
2022-10-02 10:45                 ` [CLOSED] " Christopher M. Miles
2022-10-02 11:07                   ` Eli Zaretskii
2022-10-02 14:56                     ` Christopher M. Miles
     [not found]                 ` <63396d3d.050a0220.d98c9.1ea6SMTPIN_ADDED_BROKEN@mx.google.com>
2022-10-02 10:57                   ` Ihor Radchenko
2022-10-02 11:16                     ` Eli Zaretskii [this message]
2022-10-02 11:26                       ` Ihor Radchenko
2022-10-19  7:33                       ` [SOLVED] " Christopher M. Miles

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.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=83v8p21nni.fsf@gnu.org \
    --to=eliz@gnu.org \
    --cc=emacs-devel@gnu.org \
    --cc=emacs-orgmode@gnu.org \
    --cc=numbchild@gmail.com \
    --cc=yantar92@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/org-mode.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).