summaryrefslogtreecommitdiff
path: root/qt4/src
diff options
context:
space:
mode:
authorBrad Hards <bradh@frogmouth.net>2005-07-06 09:52:30 +0000
committerBrad Hards <bradh@frogmouth.net>2005-07-06 09:52:30 +0000
commit5fa869887a840a585340993718df0841010666cf (patch)
tree9aa0c009bcd8f1b54e6d278a60dbc2a2df209884 /qt4/src
parent40469c5883e17e734f3d54872c59e76b95bc0f95 (diff)
Remove boolean for unicode table lookup from Font
Diffstat (limited to 'qt4/src')
-rw-r--r--qt4/src/poppler-document.cc2
-rw-r--r--qt4/src/poppler-qt4.h14
2 files changed, 1 insertions, 15 deletions
diff --git a/qt4/src/poppler-document.cc b/qt4/src/poppler-document.cc
index ac2884e5..35202036 100644
--- a/qt4/src/poppler-document.cc
+++ b/qt4/src/poppler-document.cc
@@ -134,14 +134,12 @@ namespace Poppler {
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()
));
}
diff --git a/qt4/src/poppler-qt4.h b/qt4/src/poppler-qt4.h
index 9f43b462..8399c65f 100644
--- a/qt4/src/poppler-qt4.h
+++ b/qt4/src/poppler-qt4.h
@@ -57,12 +57,10 @@ namespace Poppler {
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 @@ namespace Poppler {
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 @@ namespace Poppler {
QString m_fontName;
bool m_isEmbedded;
bool m_isSubset;
- bool m_requiresUnicodeConversion;
Type m_type;
};