|
From: | Leonard Rosenthol |
Subject: | Re: [Freetype] MACOS X |
Date: | Sat, 10 Nov 2001 16:41:59 -0500 |
At 09:41 AM 11/10/2001 -0800, Wenlin Institute wrote:
I've got freetype working on OS X, but my method for doing it wasn't very elegant, and someone else can probably tell you a better way. I didn't make a separate library, I just added the necessary files directly to my project, using Project Builder. The files I added are: ftbase.c, ftsystem.c, ftinit.c, ftglyph.c, ftextend.c, ftbbox.c, ftmm.c, psaux.c, psnames.c, sfnt.c, ftcache.c, cff.c, type1.c, raster.c, truetype.c, type1cid.c, and autohint.c. They're all in different folders, so it was necessary to add them one at a time.
That will certainly work - at least until we add or remove files from FT. I would, however, recommend that you simply build FT using the standard Unix makefiles and then include the library in your PB project. You could even make the FT makefile a dependancy in the PB project, so it would then "sub-build" FT.
I haven't included the extension that would allow freetype to open Mac fonts that use the resource fork, but I'd like to; someone on this list mentioned recently that they were working on it.
That would be me ;).It works just fine on Mac OS X today, building as a Carbon library from the command line (macho-o) and from CodeWarrior (CFM). I need to add a few more things in there for 2.0.6, but what is there is certainly functional!
Leonard
[Prev in Thread] | Current Thread | [Next in Thread] |