From: Marco Pesenti Gritti Date: Sat, 4 Jun 2005 17:09:23 +0000 (+0000) Subject: Comment out some more fonts stuff. Should really work without the poppler X-Git-Tag: EVINCE_0_3_3~284 X-Git-Url: https://www.fi.muni.cz/~kas/git//home/kas/public_html/git/?a=commitdiff_plain;h=0abb14da9b027db4a090b0dc78ce45e574a589cf;p=evince.git Comment out some more fonts stuff. Should really work without the poppler 2005-06-04 Marco Pesenti Gritti * pdf/ev-poppler.cc: Comment out some more fonts stuff. Should really work without the poppler patch now. --- diff --git a/ChangeLog b/ChangeLog index d8b52677..d6ed0b28 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,10 @@ +2005-06-04 Marco Pesenti Gritti + + * pdf/ev-poppler.cc: + + Comment out some more fonts stuff. Should really + work without the poppler patch now. + 2005-06-04 Marco Pesenti Gritti * pdf/ev-poppler.cc: diff --git a/pdf/ev-poppler.cc b/pdf/ev-poppler.cc index b6c98e74..6597cfa9 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; }