[mythtv] [PATCH] OSD TT Font

Christian Hack christianh at edmi.com.au
Sat Aug 7 00:17:58 EDT 2004

> On Thursday 08 July 2004 03:02, Harry Orenstein wrote:
> > Kenneth,
> >
> > Sorry to be the proverbial fly in the ointment... I patched against 
> > the original 0.15.1 source with the new patchfile and get a 
> new error:
> >
> >
> > osd.cpp: In member function `QColor OSD::parseColor(QString)':
> > osd.cpp:1197: variable `QRegExp regexp' has initializer but 
> incomplete 
> > type
> >
> >
> > I don't profess to have much gcc knowledge, so I cannot 
> even guess at 
> > what this error means.  Usually I can tell if an include is 
> missing or 
> > messed up, but this looks like a syntax problem.
> >
> > Trying my level best to test and give feedback.   As 
> before, thanks for
> > your hard work.

Kenneth it appears this patch (in CVS as of about 3 weeks ago) is causing me
grief. I don't seem to have FT_KERNING_DEFAULT defined anywhere. Where
should it be defined? It would seem I'm missing something - possibly because
I have a reasonably old system (RH8, but stable and otherwise fully working)

This is the compile error I'm seeing with a clean ckeckout from CVS:

g++ -c -pipe -w -g `freetype-config --cflags` -D_REENTRANT -fPIC
-I/usr/lib/qt-3.1/mkspecs/default -I. -I/usr/local/include
-I../../../DVB/include -I../libmyth -I.. -Idvbdev -I../libavcodec
-I/usr/lib/qt-3.1/include -o ttfont.o ttfont.cpp
ttfont.cpp: In member function `void TTFFont::render_text(Raster_Map*, 
   Raster_Map*, const QString&, int*, int*)':
ttfont.cpp:265: `FT_KERNING_DEFAULT' undeclared (first use this function)
ttfont.cpp:265: (Each undeclared identifier is reported only once for each 
   function it appears in.)
make[2]: *** [ttfont.o] Error 1
make[2]: Leaving directory `/home/mythtv/mythtv/cvs/mythtv/libs/libmythtv'
make[1]: *** [sub-libmythtv] Error 2
make[1]: Leaving directory `/home/mythtv/mythtv/cvs/mythtv/libs'
make: *** [sub-libs] Error 2


More information about the mythtv-dev mailing list