author | mickeyl <mickeyl> | 2004-04-05 10:36:31 (UTC) |
---|---|---|
committer | mickeyl <mickeyl> | 2004-04-05 10:36:31 (UTC) |
commit | 900fb3d498891d9aca81c362b2ea3460d1dc3f59 (patch) (unidiff) | |
tree | 35675d48a982d60934778b04983743759f694e2f | |
parent | 5a07a653948bfbfa5091a182ad62939c01624e38 (diff) | |
download | opie-900fb3d498891d9aca81c362b2ea3460d1dc3f59.zip opie-900fb3d498891d9aca81c362b2ea3460d1dc3f59.tar.gz opie-900fb3d498891d9aca81c362b2ea3460d1dc3f59.tar.bz2 |
convert to odebug
-rw-r--r-- | freetype/config.in | 2 | ||||
-rw-r--r-- | freetype/fontfactoryttf_qws.cpp | 18 | ||||
-rw-r--r-- | freetype/freetype.pro | 8 |
3 files changed, 14 insertions, 14 deletions
diff --git a/freetype/config.in b/freetype/config.in index 71c5df7..68b659a 100644 --- a/freetype/config.in +++ b/freetype/config.in | |||
@@ -3,2 +3,2 @@ | |||
3 | default "y" | 3 | default "y" |
4 | depends ( LIBQPE || LIBQPE-X11 ) | 4 | depends ( LIBQPE || LIBQPE-X11 ) && LIBOPIE2CORE |
diff --git a/freetype/fontfactoryttf_qws.cpp b/freetype/fontfactoryttf_qws.cpp index 1f082a9..1ed0d2c 100644 --- a/freetype/fontfactoryttf_qws.cpp +++ b/freetype/fontfactoryttf_qws.cpp | |||
@@ -20,5 +20,7 @@ | |||
20 | 20 | ||
21 | |||
22 | #include "fontfactoryttf_qws.h" | 21 | #include "fontfactoryttf_qws.h" |
23 | 22 | ||
23 | #include <opie2/odebug.h> | ||
24 | using namespace Opie::Core; | ||
25 | |||
24 | #ifdef QT_NO_FREETYPE | 26 | #ifdef QT_NO_FREETYPE |
@@ -109,3 +111,3 @@ public: | |||
109 | if(err) | 111 | if(err) |
110 | qFatal("Load glyph error %x",err); | 112 | ofatal << "Load glyph error " << err << "" << oendl; |
111 | 113 | ||
@@ -115,3 +117,3 @@ public: | |||
115 | if(err) | 117 | if(err) |
116 | qFatal("Get glyph error %x",err); | 118 | ofatal << "Get glyph error " << err << "" << oendl; |
117 | 119 | ||
@@ -129,3 +131,3 @@ public: | |||
129 | if(err) | 131 | if(err) |
130 | qWarning("Get bitmap error %d",err); | 132 | owarn << "Get bitmap error " << err << "" << oendl; |
131 | } | 133 | } |
@@ -182,3 +184,3 @@ private: | |||
182 | if (FT_IS_SCALABLE(myface) ) { | 184 | if (FT_IS_SCALABLE(myface) ) { |
183 | qWarning("Set char size error %x for size %d",err,ptsize); | 185 | owarn << "Set char size error " << err << " for size " << ptsize << "" << oendl; |
184 | } else { | 186 | } else { |
@@ -200,3 +202,3 @@ private: | |||
200 | if ( err ) | 202 | if ( err ) |
201 | qWarning("Set char size error %x for size %d",err,ptsize); | 203 | owarn << "Set char size error " << err << " for size " << ptsize << "" << oendl; |
202 | } | 204 | } |
@@ -211,3 +213,3 @@ QFontFactoryFT::QFontFactoryFT() | |||
211 | if(err) { | 213 | if(err) { |
212 | qFatal("Couldn't initialise Freetype library"); | 214 | ofatal << "Couldn't initialise Freetype library" << oendl; |
213 | } | 215 | } |
@@ -238,3 +240,3 @@ void QFontFactoryFT::load(QDiskFont * qdf) const | |||
238 | if(err) { | 240 | if(err) { |
239 | qFatal("Error %d opening face",err); | 241 | ofatal << "Error " << err << " opening face" << oendl; |
240 | } | 242 | } |
diff --git a/freetype/freetype.pro b/freetype/freetype.pro index bdc37f6..ca2841c 100644 --- a/freetype/freetype.pro +++ b/freetype/freetype.pro | |||
@@ -1,3 +1,3 @@ | |||
1 | TEMPLATE= lib | 1 | TEMPLATE= lib |
2 | CONFIG += qt warn_on release | 2 | CONFIG += qt warn_on |
3 | HEADERS = fontfactoryttf_qws.h freetypefactoryimpl.h | 3 | HEADERS = fontfactoryttf_qws.h freetypefactoryimpl.h |
@@ -9,6 +9,4 @@ INCLUDEPATH += $(QTDIR)/src/3rdparty/freetype/include $(QTDIR)/src/3rdparty/free | |||
9 | DEPENDPATH += $(OPIEDIR)/include | 9 | DEPENDPATH += $(OPIEDIR)/include |
10 | LIBS += -lqpe -lfreetype | 10 | LIBS += -lqpe -lfreetype -lopiecore2 |
11 | VERSION = 1.0.0 | 11 | VERSION = 1.0.1 |
12 | |||
13 | |||
14 | 12 | ||