Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/pdf
diff options
context:
space:
mode:
authorMarco Pesenti Gritti <mpg@redhat.com>2005-06-04 17:09:23 (GMT)
committer Marco Pesenti Gritti <marco@src.gnome.org>2005-06-04 17:09:23 (GMT)
commit0abb14da9b027db4a090b0dc78ce45e574a589cf (patch)
treeb5b07fb24db31ea5ec4c68c9cdde592ef744dbf7 /pdf
parentd668a39b3c75614e4fb57b99fed6b1561bd747c8 (diff)
Comment out some more fonts stuff. Should really work without the poppler
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.
Diffstat (limited to 'pdf')
-rw-r--r--pdf/ev-poppler.cc4
1 files changed, 4 insertions, 0 deletions
diff --git a/pdf/ev-poppler.cc b/pdf/ev-poppler.cc
index b6c98e7..6597cfa 100644
--- a/pdf/ev-poppler.cc
+++ b/pdf/ev-poppler.cc
@@ -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;
}