1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2024-12-15 09:47:20 +00:00
emacs/lwlib
YAMAMOTO Mitsuharu 5f4e8e2e08 Don't link libXft when using cairo
* configure.ac: Check cairo early.  Don't try Xft if cairo is used.
* lwlib/lwlib-utils.h [USE_CAIRO]: Include cairo.h and fontconfig.h.
(XftFont, XftDraw, XftColor, XGlyphInfo) [USE_CAIRO]: New typedefs.
(XftFontOpenName, XftFontClose, XftDrawCreate, XftDrawDestroy)
(XftDrawRect, XftDrawStringUtf8, XftTextExtentsUtf8) [USE_CAIRO]: New macros.
(crxft_font_open_name, crxft_font_close, crxft_draw_create)
(crxft_draw_rect, crxft_draw_string, crxft_text_extents) [USE_CAIRO]: New
externs.
* lwlib/lwlib-utils.c [USE_CAIRO]: Include math.h, cairo-ft.h, and
cairo-xlib.h.
(crxft_font_open_name, crxft_font_close, crxft_draw_create)
(crxft_set_source_color, crxft_draw_rect, crxft_draw_string)
(crxft_text_extents) [USE_CAIRO]: New Xft compatibility functions.
* lwlib/xlwmenuP.h [USE_CAIRO]: Include lwlib-utils.h.
* lwlib/xlwmenu.c (display_menu_item) [USE_CAIRO]: Call
cairo_surface_mark_dirty and cairo_surface_flush.
* lwlib/lwlib-Xaw.c [USE_CAIRO]: Include stdlib.h and lwlib-utils.h.
(draw_text) [USE_CAIRO]: Call cairo_surface_flush.
* src/xsettings.c [USE_CAIRO]: Include fontconfig.h
(apply_xft_settings) [!HAVE_XFT]: Don't call XftDefaultSubstitute or
XftDefaultSet.
* lwlib/lwlib-Xaw.c:
* lwlib/lwlib-int.h:
* lwlib/xlwmenu.c:
* lwlib/xlwmenuP.h:
* src/xrdb.c:
* src/xsettings.c:
* src/xterm.c: Replace all #ifdef HAVE_XFT with #if defined USE_CAIRO ||
defined HAVE_XFT.
* src/xfns.c (x_default_font_parameter): Replace #ifdef HAVE_XFT with #if
defined	USE_CAIRO || defined HAVE_XFT.
2019-04-24 12:31:37 +09:00
..
ChangeLog.1 Update copyright year to 2019 2019-01-01 01:01:13 +00:00
COPYING Merge from Gnulib 2017-10-01 18:31:10 -07:00
deps.mk Update copyright year to 2019 2019-01-01 01:01:13 +00:00
lwlib-int.h Don't link libXft when using cairo 2019-04-24 12:31:37 +09:00
lwlib-utils.c Don't link libXft when using cairo 2019-04-24 12:31:37 +09:00
lwlib-utils.h Don't link libXft when using cairo 2019-04-24 12:31:37 +09:00
lwlib-widget.h Update copyright year to 2019 2019-01-01 01:01:13 +00:00
lwlib-Xaw.c Don't link libXft when using cairo 2019-04-24 12:31:37 +09:00
lwlib-Xaw.h More porting to GCC 8 of --enable-gcc-warnings 2018-12-17 08:16:17 -08:00
lwlib-Xlw.c Update copyright year to 2019 2019-01-01 01:01:13 +00:00
lwlib-Xlw.h More porting to GCC 8 of --enable-gcc-warnings 2018-12-17 08:16:17 -08:00
lwlib-Xm.c Update copyright year to 2019 2019-01-01 01:01:13 +00:00
lwlib-Xm.h Prefer HTTPS to FTP and HTTP in documentation 2017-09-13 15:54:37 -07:00
lwlib.c Update copyright year to 2019 2019-01-01 01:01:13 +00:00
lwlib.h Update copyright year to 2019 2019-01-01 01:01:13 +00:00
Makefile.in Merge from origin/emacs-26 2018-12-31 17:57:29 -08:00
README Generate a ChangeLog file from commit logs 2015-04-07 00:00:55 -07:00
xlwmenu.c Don't link libXft when using cairo 2019-04-24 12:31:37 +09:00
xlwmenu.h Update copyright year to 2019 2019-01-01 01:01:13 +00:00
xlwmenuP.h Don't link libXft when using cairo 2019-04-24 12:31:37 +09:00

This subdirectory contains the Lucid Widget Library (lwlib), which
provides a uniform interface to a few different X toolkits.  The
library was written by Lucid, Inc and released under the terms of the
GPL version 1 (or later).  It is not considered part of GNU Emacs.

This version of the library differs from the original as described in
the ChangeLog.1 file.