[poppler] poppler/qt4/src: poppler-document.cc, 1.4, 1.5 poppler-qt4.h, 1.4, 1.5

Brad Hards bradh at freedesktop.org
Wed Jul 6 02:52:32 PDT 2005


Update of /cvs/poppler/poppler/qt4/src
In directory gabe:/tmp/cvs-serv5733/qt4/src

Modified Files:
	poppler-document.cc poppler-qt4.h 
Log Message:
Remove boolean for unicode table lookup from Font


Index: poppler-document.cc
===================================================================
RCS file: /cvs/poppler/poppler/qt4/src/poppler-document.cc,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -d -r1.4 -r1.5
--- poppler-document.cc	5 Jul 2005 21:15:49 -0000	1.4
+++ poppler-document.cc	6 Jul 2005 09:52:30 -0000	1.5
@@ -134,14 +134,12 @@
 		fontList->append(FontInfo(((::FontInfo*)items->get(i))->getName()->getCString(),
 			      ((::FontInfo*)items->get(i))->getEmbedded(),
 			      ((::FontInfo*)items->get(i))->getSubset(),
-			      ((::FontInfo*)items->get(i))->getToUnicode(),
 			      (Poppler::FontInfo::Type)((::FontInfo*)items->get(i))->getType()
 		));
 	    else
 		fontList->append(FontInfo(QString::null,
 			      ((::FontInfo*)items->get(i))->getEmbedded(),
 			      ((::FontInfo*)items->get(i))->getSubset(),
-			      ((::FontInfo*)items->get(i))->getToUnicode(),
 			      (Poppler::FontInfo::Type)((::FontInfo*)items->get(i))->getType()
 		));
 	}

Index: poppler-qt4.h
===================================================================
RCS file: /cvs/poppler/poppler/qt4/src/poppler-qt4.h,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -d -r1.4 -r1.5
--- poppler-qt4.h	5 Jul 2005 21:15:49 -0000	1.4
+++ poppler-qt4.h	6 Jul 2005 09:52:30 -0000	1.5
@@ -57,12 +57,10 @@
 	   Create a new font information container
 	*/
 	FontInfo( const QString fontName, const bool isEmbedded,
-		  const bool isSubset, const bool requiresUnicodeConversion,
-		  Type type):
+		  const bool isSubset, Type type):
 	    m_fontName(fontName),
 	    m_isEmbedded(isEmbedded),
 	    m_isSubset(isSubset),
-	    m_requiresUnicodeConversion(requiresUnicodeConversion),
 	    m_type(type)
 	    {};
 
@@ -89,15 +87,6 @@
 	bool isSubset() const
 	    { return m_isSubset; }
 
-	/** 
-	    Whether the font requires special (table) lookup
-	    
-	    \return true if the codepoints need to be looked up to get
-	    to a Unicode form
-	*/
-	bool requiresUnicodeConversion() const
-	    { return m_requiresUnicodeConversion; }
-
 	/**
 	   The type of font encoding
 	*/
@@ -109,7 +98,6 @@
 	QString m_fontName;
 	bool m_isEmbedded;
 	bool m_isSubset;
-	bool m_requiresUnicodeConversion;
 	Type m_type;
     };
 



More information about the poppler mailing list