]> www.fi.muni.cz Git - evince.git/commit
:startDoc, setPrintContext): hand through to the font map
authorMartin Kretzschmar <mkretzschmar@src.gnome.org>
Mon, 9 Dec 2002 10:06:10 +0000 (10:06 +0000)
committerMartin Kretzschmar <mkretzschmar@src.gnome.org>
Mon, 9 Dec 2002 10:06:10 +0000 (10:06 +0000)
commitd87677c70423e0be7bf790c9f4dab08389462804
tree2458e7d1199ac672d70cd6d75ac56c8774194a5d
parent1f8a5360bd702194ab8743564c85e296004db86d
: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