On Fri, 27 Dec 2002, William Trenker wrote:
> On line 69) it is assumed that 'freetype-config --cflags' produces a
> result such as:
> '-I/usr/X11R6/include/freetype2'
> Unfortunately, on my system at least, 'freetype-config --cflags' produces:
> '-I/usr/X11R6/include -I/usr/X11R6/include/freetype2'
I had same problem,'freetype-config --cflags' gives:
'-I/usr/local/include -I/usr/local/include/freetype2'
> /usr/lib/libpangoxft-1.0.so: undefined reference to `FT_Seek_Stream'
> /usr/lib/libpangoxft-1.0.so: undefined reference to `FT_Get_Short'
> /usr/lib/libpangoxft-1.0.so: undefined reference to `FT_Forget_Frame'
> /usr/lib/libpangoxft-1.0.so: undefined reference to `FT_Access_Frame'
> /usr/lib/libpangoxft-1.0.so: undefined reference to `FT_Get_Long'
...
> It appears that pango and freetype2 are out of step. But by now I've got
> to stop this experimenting. For now I'll download Dia .90 and work with
> that.
I run into this too, but I can't remember details of how I got it fixed,
since I messed with Makefiles and recompilation of pango and freetype2
at the same time :)
Another problem I have with CVS version is that fonts are really huge,
with following change to lib/font.c I get normal sized fonts:
static real global_size_one = 1.0; /* 28.35; */
Correct fix is probably to edit some X or pango configuration file
but I don't know excatly what file I should edit.
Janne Heikkinen