all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: David Kastrup <dak@gnu.org>
To: emacs-devel@gnu.org
Subject: An observation on the Emacs display engine
Date: Mon, 14 Dec 2009 16:54:42 +0100	[thread overview]
Message-ID: <87ocm11rgd.fsf@lola.goethe.zz> (raw)

[-- Attachment #1: Type: text/plain, Size: 134 bytes --]


Taking a look at the following Screenshot, we have an info document with
a table.  The entries in the first column are autowrapped.


[-- Attachment #2: Screenshot2.png --]
[-- Type: image/png, Size: 13514 bytes --]

[-- Attachment #3: Type: text/plain, Size: 850 bytes --]


If we now look at the table entry `\chordmode { c:dim f:maj7 }', the
first line of the rendered table contains the image.  As a result, the
second wrapped line of the table label is awkwardly displaced
downwards.

Actually I now wanted to conclude that Emacs' display engine is not able
to deal with this situation better.  But I forgot about image slices.
One _could_ try to slice the image into pieces accommodating the line
height of the rest of the table.

So this particular case might theoretically be handled.  I am not sure
whether it is feasible to calculate the image slice height for that.
And if, instead of an image, we had a giant letter "B", then slicing
would not be available.

I doubt that this kind of use case crops up all too often.  But I just
wanted to mention it when seeing that info page.

All the best,

-- 
David Kastrup

                 reply	other threads:[~2009-12-14 15:54 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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

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

  git send-email \
    --in-reply-to=87ocm11rgd.fsf@lola.goethe.zz \
    --to=dak@gnu.org \
    --cc=emacs-devel@gnu.org \
    /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 external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.