diff options
author | Martin Kretzschmar <mkretzschmar@src.gnome.org> | 2002-12-09 10:06:10 (GMT) |
---|---|---|
committer | Martin Kretzschmar <mkretzschmar@src.gnome.org> | 2002-12-09 10:06:10 (GMT) |
commit | d87677c70423e0be7bf790c9f4dab08389462804 (patch) | |
tree | 2458e7d1199ac672d70cd6d75ac56c8774194a5d /pdf/xpdf/Makefile.am | |
parent | 1f8a5360bd702194ab8743564c85e296004db86d (diff) |
: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]
Diffstat (limited to 'pdf/xpdf/Makefile.am')
-rw-r--r-- | pdf/xpdf/Makefile.am | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/pdf/xpdf/Makefile.am b/pdf/xpdf/Makefile.am index a81214d..b1ebd87 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 \ |