[bug-gs] Building Ghostscript 8.15 with Free Type
Andrea -XFox- Govoni
xfox at mac.com
Tue Nov 29 08:48:42 PST 2005
Hi folks,
I don't know if this is the right place to post questions about building
Ghostscript 8.15 but I didn't find any other better place, so excuse me
if I'm OT.
So, I'm playing with Ghostscript 8.15 sources on Mac OS X 10.4.3, trying
to build the libgs.8.15.dylib shared library.
Actually, I managed to build the library with these commands:
cd <path_to_ghostscript_library>;
cp src/macosx.mak Makefile;
make soclean;
make SHARE_JPEG=0 SHARE_LIBPNG=1 COMPILE_INITS=1 CFLAGS_SO=
CFLAGS_STANDARD=-O2 so;
install_name_tool -id /usr/local/lib/libgs.8.15.dylib sobin/libgs.8.dylib;
Then, I noticed the section of "How to build Ghostscript from source
code"[1] titled "14 How to build Ghostscript with Free Type"[2].
I builded Free Type 2.1.10 from sources (both the static and dynamic
libs) and tried to build Ghostscript with Free Type using the following
commands (same as above, plus Free Type's related options):
cd <path_to_ghostscript_library>;
cp src/macosx.mak Makefile;
make soclean;
make SHARE_JPEG=0 SHARE_LIBPNG=1 COMPILE_INITS=1 CFLAGS_SO=
CFLAGS_STANDARD=-O2 FT_BRIDGE=1 FT_ROOT=/Users/xfox/src/freetype-2.1.10
FT_LIB_EXT=.a so;
install_name_tool -id /usr/local/lib/libgs.8.15.dylib sobin/libgs.8.dylib;
The library builds, but I have a feeling that the Free Type options
aren't actually used and the Free Type bridge doesn't get build, because:
1) The resulting shared library's size is the same than the library
builded without the Free Type related options;
2) I used Spotlight to search for the word FT_BRIDGE on the content of
files in the Ghostscript 8.15 sources directory and it came out that
only ghostscript-8.15/doc/Make.html contains it. So, where is checked if
it is defined or not? Maybe with this release the Free Type bridge is
automatically builded without any additional make's option and the
documentation is outdated?
Thanks in advance to anyone could tell me how the things really are and
how to build Ghostscript with the Free Type bridge.
[1] http://www.ghostscript.com/doc/GPL/8.15/Make.htm
[2] http://www.ghostscript.com/doc/GPL/8.15/Make.htm#FT_build
--
Andrea "XFox" Govoni
ICQ UIN: 43488185
AIM/iChat: xfox at mac.com
Yahoo! ID: xfox82
Skype Name: draykan
PGP
KeyID: 0x212E69C1
Fingerprint: FBE1 CA7D 34BE 4A53 9639 5C36 B7A0 605F 212E 69C1
More information about the bug-gs
mailing list