I used to be all in favor of eliminating freetype2 from the 10.3 tree, because it seemed we finally had a decent freetype2 in X11.

Unfortunately it now appears that the freetype2 in Apple's X11 just doesn't cut it. Here is the story:

The scribus package (both in its stable version 1.0.1 and in the developer version 1.1.3) has had serious font problems on Panther. Many fonts showed up in the font menus, but either did not allow to type text when selected or did not produce any glyphs at all, only empty rectangles. This did not happen on Jaguar. The main difference between the Jaguar and the Panther versions of scribus is that the former uses Fink's freetype2 and the latter only the freetype2 in /usr/X11R6.

I tried the following hack: I let scribus compile as before with all freetype2 headers taken from /usr/X11R6, but in the final linking command where the scribus binary is made, I link to %p/lib/libfreetype.6.dylib. This sounds like a sure recipe for disaster, and the linker complains heavily about multiply-defined symbols, but it works! (Well, at least for me ;-) )

My questions: Are there any other freetype2-using packages out there that might have had similar problems? The problems are with postscript fonts like those in /usr/X11R6/lib/X11/fonts/Type1; most TrueType fonts don't show the problems. Or does anyone have an explanation which might be used for a small patch so as to avoid the reintroduction of a freetype2-dev package (and to avoid my evil hack for scribus)?

I have not yet had the opportunity to try Fink's xfree86-4.3.9999.. package to see whether its freetype2 is better and whether it is compatible with the evil hack. It would be nice if someone who has this installed could give scribus a try.

--
Martin





-------------------------------------------------------
This SF.net email is sponsored by: SF.net Giveback Program.
Does SourceForge.net help you be more productive?  Does it
help you create better code?  SHARE THE LOVE, and help us help
YOU!  Click Here: http://sourceforge.net/donate/
_______________________________________________
Fink-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/fink-devel

Reply via email to