From e4f12a1b1ffba07cc7d6f6e1aec5de9f09af616f Mon Sep 17 00:00:00 2001 From: YAMAMOTO Mitsuharu Date: Mon, 10 Jun 2019 10:06:26 +0900 Subject: [PATCH] Document exporting/printing text with X core fonts to outline images on cairo * src/xfns.c (Fx_export_frames) [USE_CAIRO]: (Fx_print_frames_dialog) [USE_CAIRO && USE_GTK]: Add notes on x font backend. --- src/xfns.c | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/src/xfns.c b/src/xfns.c index 46f19ff82ac..5787abb5281 100644 --- a/src/xfns.c +++ b/src/xfns.c @@ -7446,7 +7446,10 @@ FRAMES should be nil (the selected frame), a frame, or a list of frames (each of which corresponds to one page). Each frame should be visible. Optional arg TYPE should be either `pdf' (default), `png', `postscript', or `svg'. Supported types are determined by the -compile-time configuration of cairo. */) +compile-time configuration of cairo. + +Note: Text drawn with the `x' font backend is shown with hollow boxes +unless TYPE is `png'. */) (Lisp_Object frames, Lisp_Object type) { Lisp_Object rest, tmp; @@ -7548,7 +7551,9 @@ DEFUN ("x-print-frames-dialog", Fx_print_frames_dialog, Sx_print_frames_dialog, doc: /* Pop up a print dialog to print the current contents of FRAMES. FRAMES should be nil (the selected frame), a frame, or a list of frames (each of which corresponds to one page). Each frame should be -visible. */) +visible. + +Note: Text drawn with the `x' font backend is shown with hollow boxes. */) (Lisp_Object frames) { Lisp_Object rest, tmp; -- 2.39.2