[poppler] qt4/tests

Albert Astals Cid aacid at kemper.freedesktop.org
Thu Sep 13 10:57:15 PDT 2012


 qt4/tests/test-poppler-qt4.cpp |    4 ----
 1 file changed, 4 deletions(-)

New commits:
commit b72c02d1a2ec8180b3ddfd2bb2b462c0189377d5
Author: Albert Astals Cid <aacid at kde.org>
Date:   Thu Sep 13 19:56:45 2012 +0200

    Remove the fonts loop
    
    sometimes it's very slow and doesn't really add much

diff --git a/qt4/tests/test-poppler-qt4.cpp b/qt4/tests/test-poppler-qt4.cpp
index 503b35a..46875ef 100644
--- a/qt4/tests/test-poppler-qt4.cpp
+++ b/qt4/tests/test-poppler-qt4.cpp
@@ -186,10 +186,6 @@ int main( int argc, char **argv )
     qDebug() << "OK to add notes: " << doc->okToAddNotes();
     qDebug() << "      Page mode: " << doc->pageMode();
     qDebug() << "       Metadata: " << doc->metadata();
-    QStringList fontNameList;
-    foreach( const Poppler::FontInfo &font, doc->fonts() )
-	fontNameList += font.name();
-    qDebug() << "          Fonts: " << fontNameList.join( ", " );
 
     if ( doc->hasEmbeddedFiles() ) {
         qDebug() << "Embedded files:";


More information about the poppler mailing list