all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Juanma Barranquero <lekktu@gmail.com>
To: Lars Magne Ingebrigtsen <larsi@gnus.org>
Cc: 6113@debbugs.gnu.org
Subject: bug#6113: 23.1.97; doc of :box face attibute
Date: Sun, 3 Jul 2011 02:15:37 +0200	[thread overview]
Message-ID: <CAAeL0STTDGwBQGu5RjHjf=XXmCDM7Tj=g_n-54GRgK65cBQ=5g@mail.gmail.com> (raw)
In-Reply-To: <m38vsgxm6o.fsf@quimbies.gnus.org>

On Sun, Jul 3, 2011 at 02:06, Lars Magne Ingebrigtsen <larsi@gnus.org> wrote:

> Could someone who knows what a negative `line-width' in :box means

From xfaces.c:realize_x_face():

          if (EQ (keyword, QCline_width))
            {
              if (INTEGERP (value) && XINT (value) != 0)
                face->box_line_width = XINT (value);
            }
          else
            /* etc. */

and from dispextern.h:

  /* Non-zero means characters in this face have a box that thickness
     around them.  If it is negative, the absolute value indicates the
     thickness, and the horizontal lines of box (top and bottom) are
     drawn inside of characters glyph area.  The vertical lines of box
     (left and right) are drawn as the same way as the case that this
     value is positive.  */
  int box_line_width;

    Juanma





  reply	other threads:[~2011-07-03  0:15 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-05-05 17:47 bug#6113: 23.1.97; doc of :box face attibute Drew Adams
2011-07-03  0:06 ` Lars Magne Ingebrigtsen
2011-07-03  0:15   ` Juanma Barranquero [this message]
2011-07-03  0:24   ` Chong Yidong
2011-07-03  1:34   ` Drew Adams

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='CAAeL0STTDGwBQGu5RjHjf=XXmCDM7Tj=g_n-54GRgK65cBQ=5g@mail.gmail.com' \
    --to=lekktu@gmail.com \
    --cc=6113@debbugs.gnu.org \
    --cc=larsi@gnus.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.