mirror of
git://git.sv.gnu.org/emacs.git
synced 2026-02-18 10:57:34 +00:00
Separate values for box line width and height and allow both to be negative which makes the visual width and height of the boxed string unchanged (Bug#13011). * doc/lispref/display.texi (Face Attributes): Modify :box attribute description to reflect the new possibilities. * lisp/cus-face.el (custom-face-attributes): Set box attribute to get two integer to set vertical and horizontal width and modify pre-filter to accept dotted list of two int as valid box attribute. * src/dispextern.h (face): Use two int for box horizontal and vertical line width. * src/nsfont.m (nsfont_draw): Use new face attributes. * src/nsterm.m (ns_draw_box, ns_draw_relief): Support separated horizontal and vertical box line width. (ns_dumpglyphs_box_or_relief, ns_maybe_dumpglyphs_background) (ns_dumpglyphs_image, ns_draw_glyph_string_foreground) (ns_draw_composite_glyph_string_foreground): Use new face attributes. * src/w32term.c (w32_draw_box_rect, w32_draw_relief_rect): Support separated horizontal and vertical box line width. (x_draw_glyph_string_background, x_draw_glyph_string_foreground) (x_draw_composite_glyph_string_foreground) (x_draw_glyphless_glyph_string_foreground, x_draw_glyph_string_box) (x_draw_image_foreground, x_draw_image_relief) (w32_draw_image_foreground_1, x_draw_image_glyph_string): Use new face attributes. * src/xfaces.c (Sinternal_set_lisp_face_attribute, realize_x_face): Accept box attribute as a list of two ints. * src/xdisp.c (estimate_mode_line_height, produce_image_glyph) (produce_xwidget_glyph, x_produce_glyphs): Use new face attributes. * src/xterm.c (x_draw_box_rect, x_draw_relief_rect): Support separated horizontal and vertical box line width. (x_draw_glyph_string_background, x_draw_glyph_string_foreground) (x_draw_composite_glyph_string_foreground) (x_draw_glyphless_glyph_string_foreground, x_draw_glyph_string_box) (x_draw_image_foreground, x_draw_image_relief, x_draw_image_foreground_1) (x_draw_image_glyph_string): Use new face attributes. |
||
|---|---|---|
| .. | ||
| bitmaps | ||
| .dbxinit | ||
| .gdbinit | ||
| alloc.c | ||
| atimer.c | ||
| atimer.h | ||
| bidi.c | ||
| bignum.c | ||
| bignum.h | ||
| blockinput.h | ||
| buffer.c | ||
| buffer.h | ||
| bytecode.c | ||
| callint.c | ||
| callproc.c | ||
| casefiddle.c | ||
| casetab.c | ||
| category.c | ||
| category.h | ||
| ccl.c | ||
| ccl.h | ||
| ChangeLog.1 | ||
| ChangeLog.2 | ||
| ChangeLog.3 | ||
| ChangeLog.4 | ||
| ChangeLog.5 | ||
| ChangeLog.6 | ||
| ChangeLog.7 | ||
| ChangeLog.8 | ||
| ChangeLog.9 | ||
| ChangeLog.10 | ||
| ChangeLog.11 | ||
| ChangeLog.12 | ||
| ChangeLog.13 | ||
| character.c | ||
| character.h | ||
| charset.c | ||
| charset.h | ||
| chartab.c | ||
| cm.c | ||
| cm.h | ||
| cmds.c | ||
| coding.c | ||
| coding.h | ||
| commands.h | ||
| composite.c | ||
| composite.h | ||
| conf_post.h | ||
| COPYING | ||
| cygw32.c | ||
| cygw32.h | ||
| data.c | ||
| dbusbind.c | ||
| decompress.c | ||
| deps.mk | ||
| dired.c | ||
| dispextern.h | ||
| dispnew.c | ||
| disptab.h | ||
| dmpstruct.awk | ||
| doc.c | ||
| doprnt.c | ||
| dosfns.c | ||
| dosfns.h | ||
| dynlib.c | ||
| dynlib.h | ||
| editfns.c | ||
| emacs-icon.h | ||
| emacs-module.c | ||
| emacs-module.h.in | ||
| emacs.c | ||
| emacsgtkfixed.c | ||
| emacsgtkfixed.h | ||
| epaths.in | ||
| eval.c | ||
| fileio.c | ||
| filelock.c | ||
| firstfile.c | ||
| floatfns.c | ||
| fns.c | ||
| font.c | ||
| font.h | ||
| fontset.c | ||
| fontset.h | ||
| frame.c | ||
| frame.h | ||
| fringe.c | ||
| ftcrfont.c | ||
| ftfont.c | ||
| ftfont.h | ||
| getpagesize.h | ||
| gfilenotify.c | ||
| gmalloc.c | ||
| gnutls.c | ||
| gnutls.h | ||
| gtkutil.c | ||
| gtkutil.h | ||
| hbfont.c | ||
| image.c | ||
| indent.c | ||
| indent.h | ||
| inotify.c | ||
| insdel.c | ||
| intervals.c | ||
| intervals.h | ||
| json.c | ||
| keyboard.c | ||
| keyboard.h | ||
| keymap.c | ||
| keymap.h | ||
| kqueue.c | ||
| lastfile.c | ||
| lcms.c | ||
| lisp.h | ||
| lread.c | ||
| macfont.h | ||
| macfont.m | ||
| macros.c | ||
| macros.h | ||
| macuvs.h | ||
| Makefile.in | ||
| marker.c | ||
| menu.c | ||
| menu.h | ||
| mini-gmp-emacs.c | ||
| mini-gmp.c | ||
| mini-gmp.h | ||
| minibuf.c | ||
| module-env-25.h | ||
| module-env-26.h | ||
| module-env-27.h | ||
| module-env-28.h | ||
| msdos.c | ||
| msdos.h | ||
| nsfns.m | ||
| nsfont.m | ||
| nsgui.h | ||
| nsimage.m | ||
| nsmenu.m | ||
| nsselect.m | ||
| nsterm.h | ||
| nsterm.m | ||
| pdumper.c | ||
| pdumper.h | ||
| print.c | ||
| process.c | ||
| process.h | ||
| profiler.c | ||
| ptr-bounds.h | ||
| puresize.h | ||
| ralloc.c | ||
| README | ||
| regex-emacs.c | ||
| regex-emacs.h | ||
| region-cache.c | ||
| region-cache.h | ||
| scroll.c | ||
| search.c | ||
| sheap.c | ||
| sheap.h | ||
| sound.c | ||
| syntax.c | ||
| syntax.h | ||
| sysdep.c | ||
| sysselect.h | ||
| syssignal.h | ||
| sysstdio.h | ||
| systhread.c | ||
| systhread.h | ||
| systime.h | ||
| systty.h | ||
| syswait.h | ||
| term.c | ||
| termcap.c | ||
| termchar.h | ||
| termhooks.h | ||
| terminal.c | ||
| terminfo.c | ||
| termopts.h | ||
| textprop.c | ||
| thread.c | ||
| thread.h | ||
| timefns.c | ||
| tparam.c | ||
| tparam.h | ||
| undo.c | ||
| unexaix.c | ||
| unexcoff.c | ||
| unexcw.c | ||
| unexec.h | ||
| unexelf.c | ||
| unexhp9k800.c | ||
| unexmacosx.c | ||
| unexsol.c | ||
| unexw32.c | ||
| vm-limit.c | ||
| w16select.c | ||
| w32.c | ||
| w32.h | ||
| w32common.h | ||
| w32console.c | ||
| w32cygwinx.c | ||
| w32fns.c | ||
| w32font.c | ||
| w32font.h | ||
| w32gui.h | ||
| w32heap.c | ||
| w32heap.h | ||
| w32inevt.c | ||
| w32inevt.h | ||
| w32menu.c | ||
| w32notify.c | ||
| w32proc.c | ||
| w32reg.c | ||
| w32select.c | ||
| w32select.h | ||
| w32term.c | ||
| w32term.h | ||
| w32uniscribe.c | ||
| w32xfns.c | ||
| widget.c | ||
| widget.h | ||
| widgetprv.h | ||
| window.c | ||
| window.h | ||
| xdisp.c | ||
| xfaces.c | ||
| xfns.c | ||
| xfont.c | ||
| xftfont.c | ||
| xgselect.c | ||
| xgselect.h | ||
| xmenu.c | ||
| xml.c | ||
| xrdb.c | ||
| xselect.c | ||
| xsettings.c | ||
| xsettings.h | ||
| xsmfns.c | ||
| xterm.c | ||
| xterm.h | ||
| xwidget.c | ||
| xwidget.h | ||
Copyright (C) 2001-2020 Free Software Foundation, Inc.
See the end of the file for license conditions.
This directory contains the source files for the C component of GNU Emacs.
Nothing in this directory is needed for using Emacs once it is built
and installed, if the dumped Emacs is copied elsewhere.
See the files ../README and then ../INSTALL for installation instructions.
The file 'Makefile.in' is used as a template by the script
'../configure' to produce 'Makefile'. This is the file which actually
controls the compilation of Emacs C source files. All of this should
work transparently; you should only need to change to the parent
directory, run './configure', and then run 'make'.
This file is part of GNU Emacs.
GNU Emacs is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
GNU Emacs is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with GNU Emacs. If not, see <https://www.gnu.org/licenses/>.