On Sat, 28 Dec 2002, Janne Heikkinen wrote:
> 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'
Grrr... what'd they have to go and do that for? Hmmm... guess I'll have
to do the greps in a somewhat more involved manner.
>> /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.
Ick!
> 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; */
This value is what converts between centimeters (used internally in Dia)
and points: 72 pt/in / 2.54 cm/in = 28.35 pt/cm. This might be the same
error that Steffan ran into:
http://bugzilla.gnome.org/show_bug.cgi?id=99876
Hans also mentioned having to have that as 1.0 or thereabouts. How very
confusing.
> Correct fix is probably to edit some X or pango configuration file
> but I don't know excatly what file I should edit.
That differs from distribution to distribution. Can't help you yet.
-Lars
--
Lars Clausen (http://shasta.cs.uiuc.edu/~lrclause)| Hårdgrim of Numenor
"I do not agree with a word that you say, but I |----------------------------
will defend to the death your right to say it." | Where are we going, and
--Evelyn Beatrice Hall paraphrasing Voltaire | what's with the handbasket?