]> www.fi.muni.cz Git - evince.git/commitdiff
Comment out some more fonts stuff. Should really work without the poppler
authorMarco Pesenti Gritti <mpg@redhat.com>
Sat, 4 Jun 2005 17:09:23 +0000 (17:09 +0000)
committerMarco Pesenti Gritti <marco@src.gnome.org>
Sat, 4 Jun 2005 17:09:23 +0000 (17:09 +0000)
2005-06-04  Marco Pesenti Gritti <mpg@redhat.com>

        * pdf/ev-poppler.cc:

        Comment out some more fonts stuff. Should really
        work without the poppler patch now.

ChangeLog
pdf/ev-poppler.cc

index d8b52677ec1a122b3b1d36961ac48bdbafb241d4..d6ed0b28a72f9bee204493836fd6781238e7fcbc 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,10 @@
+2005-06-04  Marco Pesenti Gritti <mpg@redhat.com>
+
+       * pdf/ev-poppler.cc:
+
+       Comment out some more fonts stuff. Should really
+       work without the poppler patch now.
+
 2005-06-04  Marco Pesenti Gritti <mpg@redhat.com>
 
        * pdf/ev-poppler.cc:
index b6c98e7484fd36159515c87c669bd35a566a6dac..6597cfa9c808b7ba39ce3f91b42921c95e45544a 100644 (file)
@@ -525,14 +525,18 @@ pdf_document_fonts_get_fonts_model (EvDocumentFonts *document_fonts)
 
        g_return_val_if_fail (PDF_IS_DOCUMENT (document_fonts), NULL);
 
+#ifdef POPPLER_FONT_INFO
        iter = poppler_fonts_iter_new (pdf_document->document);
        /* Create the model iff we have items*/
        if (iter != NULL) {
+#endif
                model = (GtkTreeModel *) gtk_list_store_new (EV_DOCUMENT_FONTS_COLUMN_NUM_COLUMNS,
                                                             G_TYPE_STRING);
+#ifdef POPPLER_FONT_INFO
                build_fonts_list (pdf_document, model, NULL, iter);
                poppler_fonts_iter_free (iter);
        }
+#endif
 
        return model;
 }