qt4/tests/test-poppler-qt4.cpp | 4 ---- 1 file changed, 4 deletions(-)
New commits: commit b72c02d1a2ec8180b3ddfd2bb2b462c0189377d5 Author: Albert Astals Cid <[email protected]> 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:"; _______________________________________________ poppler mailing list [email protected] http://lists.freedesktop.org/mailman/listinfo/poppler
