emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [CLOSED] text-property displayed image has a center-line when the te


From: Eli Zaretskii
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

> 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 via email to

[Prev in Thread] Current Thread [Next in Thread]