[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Freetype] MACOS X
From: |
Wenlin Institute |
Subject: |
Re: [Freetype] MACOS X |
Date: |
Sat, 10 Nov 2001 09:41:12 -0800 |
At 5:41 PM +1300 11/8/01, address@hidden wrote:
Has anyone got a project, jamfile, makefile for freetype on MAC OS X?
Would you like to share it?:)
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.
I made changes to include/freetype/config/ftmodule.h, commenting out
three lines for modules I didn't want:
// FT_USE_MODULE(pcf_driver_class)
// FT_USE_MODULE(ft_smooth_renderer_class)
// FT_USE_MODULE(winfnt_driver_class)
(Note: there's another file called ftmodule.h in the next folder up,
include/freetype/ftmodule.h, that's completely different; I don't
know why these two files have the same name, it's confusing.)
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.
Tom Bishop
--
Wenlin Institute, Inc. Software for Learning Chinese
E-mail: address@hidden Web: http://www.wenlin.com
Telephone: 1-877-4-WENLIN (1-877-493-6546)