From: Martin Kretzschmar Date: Mon, 9 Dec 2002 10:06:10 +0000 (+0000) Subject: :startDoc, setPrintContext): hand through to the font map X-Git-Tag: XPDF_1_01~12 X-Git-Url: https://www.fi.muni.cz/~kas/git//home/kas/public_html/git/?a=commitdiff_plain;h=d87677c70423e0be7bf790c9f4dab08389462804;p=evince.git :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] --- 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 \