[poppler] poppler/qt4/tests: poppler-fonts.cpp,1.1,1.2
Brad Hards
bradh at freedesktop.org
Wed Jul 6 02:52:32 PDT 2005
Update of /cvs/poppler/poppler/qt4/tests
In directory gabe:/tmp/cvs-serv5733/qt4/tests
Modified Files:
poppler-fonts.cpp
Log Message:
Remove boolean for unicode table lookup from Font
Index: poppler-fonts.cpp
===================================================================
RCS file: /cvs/poppler/poppler/qt4/tests/poppler-fonts.cpp,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -d -r1.1 -r1.2
--- poppler-fonts.cpp 4 Jul 2005 08:21:27 -0000 1.1
+++ poppler-fonts.cpp 6 Jul 2005 09:52:30 -0000 1.2
@@ -21,13 +21,17 @@
exit(1);
}
- std::cout << "name type emb sub uni";
+ std::cout << "name type emb sub";
std::cout << std::endl;
- std::cout << "------------------------------------ ------------ --- --- ---";
+ std::cout << "------------------------------------ ------------ --- ---";
std::cout << std::endl;
foreach( Poppler::FontInfo font, doc->fonts() ) {
- std::cout << qPrintable( QString("%1").arg(font.name(), -37) );
+ if (font.name().isNull()) {
+ std::cout << qPrintable( QString("%1").arg(QString("[none]"), -37) );
+ } else {
+ std::cout << qPrintable( QString("%1").arg(font.name(), -37) );
+ }
switch( font.type() ) {
case Poppler::FontInfo::unknown:
std::cout << "unknown ";
@@ -65,12 +69,6 @@
} else {
std::cout << "no ";
}
- if ( font.requiresUnicodeConversion() ) {
- std::cout << "yes ";
- } else {
- std::cout << "no ";
- }
-
std::cout << std::endl;
}
}
More information about the poppler
mailing list