bug-gnu-emacs
[Top][All Lists]
Advanced

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

bug#6113: 23.1.97; doc of :box face attibute


From: Juanma Barranquero
Subject: bug#6113: 23.1.97; doc of :box face attibute
Date: Sun, 3 Jul 2011 02:15:37 +0200

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

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