Commit daf933bb authored by Kristian Høgsberg's avatar Kristian Høgsberg
Browse files

2005-07-29 Kristian Høgsberg <krh@redhat.com>

        * poppler/TextOutputDev.cc: Finish TextSelectionDumper class for
        extracting the text from a selection.  Add
        TextPage::getSelectionText() and TextOutputDev::getSelectionText()
        methods to expose the new functionality.

        * glib/poppler-page.cc (poppler_page_get_text): Use
        TextOutputDev::getSelectionText() to get the text from the
        selection.

        * glib/poppler-document.cc (poppler_document_new_from_file):
        * glib/poppler-page.cc (_poppler_page_new): Add extra NULL to
        g_object_new() constructor to silence gcc warning about missing
        sentinel.
parent 481db9d9
......@@ -14,23 +14,6 @@
g_object_new() constructor to silence gcc warning about missing
sentinel.
2005-07-28 Albert Astals Cid <aacid@kde.org>
* poppler/PageLabelInfo.[cc|h]: Fix memory leaks
2005-07-28 Albert Astals Cid <aacid@kde.org>
* glib/poppler-document.cc:
* poppler/CairoFontEngine.[cc|h]:
* poppler/CairoOutputDev.cc:
* poppler/GlobalParams.[cc|h]:
* poppler/SplashOutputDev.[cc|h]:
* qt/poppler-document.cc:
* qt4/src/poppler-document.cc:
* test/gtk-cairo-test.cc:
* test/gtk-splash-test.cc:
Use fontconfig for finding which font use for not embeded fonts
2005-07-28 Kristian Høgsberg <krh@redhat.com>
* poppler/poppler-config.h.in: Add GCC_PRINTF_FORMAT macro to
......@@ -42,7 +25,7 @@
PSOutputDev::writePSFmt().
* poppler/PSOutputDev.cc, poppler/GlobalParams.cc: Quiet new
printf warnings.
printf warnings.
* poppler/TextOutputDev.cc (TextBlock::visitSelection): Assign
start and stop coordinates in one place so we don't assign the
......
......@@ -75,6 +75,7 @@ poppler_document_new_from_file (const char *uri,
if (!globalParams) {
globalParams = new GlobalParams("/etc/xpdfrc");
globalParams->setupBaseFontsFc(NULL);
}
filename = g_filename_from_uri (uri, NULL, error);
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment