From dccf9855895c5f35bb0899bbd9c093baef02efc7 Mon Sep 17 00:00:00 2001 From: Martin Kretzschmar Date: Sun, 24 Jul 2005 19:00:45 +0000 Subject: Bug #311280 * pdf/ev-poppler.cc (font_type_to_string): new, returns user readable name for PopplerFontTypes (pdf_document_fonts_fill_model): add font type to the detail column * backend/ev-document-fonts.h: added EV_DOCUMENT_FONTS_COLUMN_DETAILS. * shell/ev-properties-fonts.c (font_cell_data_func): glue together font name and font details, add a little markup. (ev_properties_fonts_init): use the new cell data func, specify ypad property for the cell renderer. (ev_properties_fonts_set_document): add the details column. --- (limited to 'backend/ev-document-fonts.h') diff --git a/backend/ev-document-fonts.h b/backend/ev-document-fonts.h index d069b9d..c9f58f5 100644 --- a/backend/ev-document-fonts.h +++ b/backend/ev-document-fonts.h @@ -46,6 +46,7 @@ typedef struct _EvDocumentFontsIface EvDocumentFontsIface; enum { EV_DOCUMENT_FONTS_COLUMN_NAME, + EV_DOCUMENT_FONTS_COLUMN_DETAILS, EV_DOCUMENT_FONTS_COLUMN_NUM_COLUMNS }; -- cgit v0.9.1