From d87677c70423e0be7bf790c9f4dab08389462804 Mon Sep 17 00:00:00 2001 From: Martin Kretzschmar Date: Mon, 9 Dec 2002 10:06:10 +0000 Subject: [PATCH] :startDoc, setPrintContext): hand through to the font map * xpdf/GPOutputDev.cc (GPOutputDev::startDoc, setPrintContext): hand through to the font map (getStreamContents): adapted from glib (getFontFaceEmbedded): new, uses experimental gpdf_gnome_print_add_font (getFontFace): use getFontFaceEmbedded for fonts with embedded font files * xpdf/GPOutputDev.h: update declarations, (GPOFontMap::startDoc, setPrintContext): implemented inline * xpdf/gpdf-view.cc (gpdf_view_set_pdf_doc): call startDoc * xpdf/gpdf-gnome-font.h, xpdf/gpdf-gnome-font.c: new files; hackish implementation of gnome_print_add_font * xpdf/Makefile.am (gnome_pdf_viewer_SOURCES): add gpdf-gnome-font.[hc] --- pdf/xpdf/Makefile.am | 2 ++ 1 file changed, 2 insertions(+) diff --git a/pdf/xpdf/Makefile.am b/pdf/xpdf/Makefile.am index a81214db..b1ebd87a 100644 --- a/pdf/xpdf/Makefile.am +++ b/pdf/xpdf/Makefile.am @@ -109,6 +109,8 @@ gnome_pdf_viewer_SOURCES = \ gpdf-control.cc \ gpdf-control.h \ gpdf-g-switch.h \ + gpdf-gnome-font.c \ + gpdf-gnome-font.h \ gpdf-persist-stream.cc \ gpdf-persist-stream.h \ gpdf-util.h \ -- 2.43.5