all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: David Engster <deng@randomsample.de>
To: emacs-devel@gnu.org
Subject: Line spacing too large for TTF?
Date: Mon, 21 Sep 2009 14:41:59 +0200	[thread overview]
Message-ID: <kzpr9k1nc8.fsf@engster.org> (raw)

I'm a bit confused regarding the default line spacing in Emacs.

I'm using Emacs 23.1, started with 'emacs -Q'. Then I evaluate

(ucs-insert #x2503)

which inserts the box drawing 'heavy vertical' unicode character. I
think with the default line-spacing set to 'nil', these characters
should connect when repeated in the following lines, but they
don't. With bitmap fonts, there's usually a gap of 1 pixel, and with a
TTF like 'Bitstream Vera Sans Mono', it's about 3 pixels.

I'm not sure if this is intentional or a bug? The reason I'm asking is
that when using a TTF with very small height, it seems to me that
considerable space is wasted with these spacings between the lines. For
an example, look at the left sidebar in this screenshot:

http://www.randomsample.de/minimap-ex3.jpg

I'd like this sidebar to be more 'vertically condensed'.

Regards,
David




             reply	other threads:[~2009-09-21 12:41 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-09-21 12:41 David Engster [this message]
2009-09-21 13:14 ` Line spacing too large for TTF? Stefan Monnier
2009-09-21 18:49   ` David Engster

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=kzpr9k1nc8.fsf@engster.org \
    --to=deng@randomsample.de \
    --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.