author | mickeyl <mickeyl> | 2004-04-05 10:36:31 (UTC) |
---|---|---|
committer | mickeyl <mickeyl> | 2004-04-05 10:36:31 (UTC) |
commit | 900fb3d498891d9aca81c362b2ea3460d1dc3f59 (patch) (side-by-side diff) | |
tree | 35675d48a982d60934778b04983743759f694e2f /freetype/fontfactoryttf_qws.cpp | |
parent | 5a07a653948bfbfa5091a182ad62939c01624e38 (diff) | |
download | opie-900fb3d498891d9aca81c362b2ea3460d1dc3f59.zip opie-900fb3d498891d9aca81c362b2ea3460d1dc3f59.tar.gz opie-900fb3d498891d9aca81c362b2ea3460d1dc3f59.tar.bz2 |
convert to odebug
Diffstat (limited to 'freetype/fontfactoryttf_qws.cpp') (more/less context) (show whitespace changes)
-rw-r--r-- | freetype/fontfactoryttf_qws.cpp | 18 |
1 files changed, 10 insertions, 8 deletions
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 @@ - #include "fontfactoryttf_qws.h" +#include <opie2/odebug.h> +using namespace Opie::Core; + #ifdef QT_NO_FREETYPE @@ -109,3 +111,3 @@ public: if(err) - qFatal("Load glyph error %x",err); + ofatal << "Load glyph error " << err << "" << oendl; @@ -115,3 +117,3 @@ public: if(err) - qFatal("Get glyph error %x",err); + ofatal << "Get glyph error " << err << "" << oendl; @@ -129,3 +131,3 @@ public: if(err) - qWarning("Get bitmap error %d",err); + owarn << "Get bitmap error " << err << "" << oendl; } @@ -182,3 +184,3 @@ private: if (FT_IS_SCALABLE(myface) ) { - qWarning("Set char size error %x for size %d",err,ptsize); + owarn << "Set char size error " << err << " for size " << ptsize << "" << oendl; } else { @@ -200,3 +202,3 @@ private: if ( err ) - qWarning("Set char size error %x for size %d",err,ptsize); + owarn << "Set char size error " << err << " for size " << ptsize << "" << oendl; } @@ -211,3 +213,3 @@ QFontFactoryFT::QFontFactoryFT() if(err) { - qFatal("Couldn't initialise Freetype library"); + ofatal << "Couldn't initialise Freetype library" << oendl; } @@ -238,3 +240,3 @@ void QFontFactoryFT::load(QDiskFont * qdf) const if(err) { - qFatal("Error %d opening face",err); + ofatal << "Error " << err << " opening face" << oendl; } |