diff options
| author | YAMAMOTO Mitsuharu | 2019-06-08 14:05:49 +0900 |
|---|---|---|
| committer | YAMAMOTO Mitsuharu | 2019-06-08 14:05:49 +0900 |
| commit | faf10bd8eb3272880b774fe220fa9916ed1f00c0 (patch) | |
| tree | f933e9f012e0c96effefb02daa31ead9acc22aed /doc | |
| parent | 88c49ac31898e7b2c29338ca55cae292c450f7be (diff) | |
| download | emacs-faf10bd8eb3272880b774fe220fa9916ed1f00c0.tar.gz emacs-faf10bd8eb3272880b774fe220fa9916ed1f00c0.zip | |
Support X core font driver on cairo (Bug#28236)
* configure.ac (HAVE_X_WINDOWS): Add xfont.o to FONT_OBJ if HAVE_CAIRO.
* doc/lispref/frames.texi (Font and Color Parameters): Mention X core font
driver with Cairo drawing.
* src/font.c (syms_of_font) [HAVE_X_WINDOWS && USE_CAIRO]: Call syms_of_xfont.
* src/xfns.c (x_create_tip_frame) [USE_CAIRO]: Register xfont_driver.
* src/xterm.c (x_cr_gc_clip) [USE_CAIRO]: New function extracted from
x_begin_cr_clip.
(x_begin_cr_clip) [USE_CAIRO]: Use it.
(xlib_surface_key, saved_drawable_key) [USE_CAIRO]: New variables.
(x_cr_destroy_xlib_surface, x_try_cr_xlib_drawable)
(x_end_cr_xlib_drawable) [USE_CAIRO]: New functions.
(x_draw_composite_glyph_string_foreground)
(x_draw_glyph_string_foreground) [USE_CAIRO]: Get Xlib surface when drawing
text with X core fonts into bitmap surfaces. Add fallback code for drawing
into outline surfaces.
Diffstat (limited to 'doc')
| -rw-r--r-- | doc/lispref/frames.texi | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/doc/lispref/frames.texi b/doc/lispref/frames.texi index 336075a1ca2..629cec3c5fe 100644 --- a/doc/lispref/frames.texi +++ b/doc/lispref/frames.texi | |||
| @@ -2282,11 +2282,11 @@ drawing characters on the frame, in order of priority. In Emacs built | |||
| 2282 | without Cairo drawing on X, there are currently three available font | 2282 | without Cairo drawing on X, there are currently three available font |
| 2283 | backends: @code{x} (the X core font driver), @code{xft} (the Xft font | 2283 | backends: @code{x} (the X core font driver), @code{xft} (the Xft font |
| 2284 | driver), and @code{xfthb} (the Xft font driver with HarfBuzz text | 2284 | driver), and @code{xfthb} (the Xft font driver with HarfBuzz text |
| 2285 | shaping). If built with the Cairo drawing, there are two available | 2285 | shaping). If built with the Cairo drawing, there are also three |
| 2286 | font backends on X: @code{ftcr} (the FreeType font driver on Cairo) | 2286 | available font backends on X: @code{x}, @code{ftcr} (the FreeType font |
| 2287 | and @code{ftcrhb} (the FreeType font driver on Cairo with HarfBuzz | 2287 | driver on Cairo), and @code{ftcrhb} (the FreeType font driver on Cairo |
| 2288 | text shaping). On MS-Windows, there are currently three available | 2288 | with HarfBuzz text shaping). On MS-Windows, there are currently three |
| 2289 | font backends: @code{gdi} (the core MS-Windows font driver), | 2289 | available font backends: @code{gdi} (the core MS-Windows font driver), |
| 2290 | @code{uniscribe} (font driver for OTF and TTF fonts with text shaping | 2290 | @code{uniscribe} (font driver for OTF and TTF fonts with text shaping |
| 2291 | by the Uniscribe engine), and @code{harfbuzz} (font driver for OTF and | 2291 | by the Uniscribe engine), and @code{harfbuzz} (font driver for OTF and |
| 2292 | TTF fonts with HarfBuzz text shaping) (@pxref{Windows Fonts,,, emacs, | 2292 | TTF fonts with HarfBuzz text shaping) (@pxref{Windows Fonts,,, emacs, |