diff options
Diffstat (limited to 'src/ftxfont.c')
-rw-r--r-- | src/ftxfont.c | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/src/ftxfont.c b/src/ftxfont.c index 726e0a845b1..f9a69c35151 100644 --- a/src/ftxfont.c +++ b/src/ftxfont.c @@ -28,6 +28,7 @@ along with GNU Emacs. If not, see <https://www.gnu.org/licenses/>. */ #include "frame.h" #include "blockinput.h" #include "font.h" +#include "pdumper.h" /* FTX font driver. */ @@ -339,6 +340,8 @@ ftxfont_end_for_frame (struct frame *f) +static void syms_of_ftxfont_for_pdumper (void); + struct font_driver const ftxfont_driver = { /* We can't draw a text without device dependent functions. */ @@ -373,5 +376,11 @@ void syms_of_ftxfont (void) { DEFSYM (Qftx, "ftx"); + pdumper_do_now_and_after_load (syms_of_ftxfont_for_pdumper); +} + +static void +syms_of_ftxfont_for_pdumper (void) +{ register_font_driver (&ftxfont_driver, NULL); } |