Apple Specific fontconfig

Michael Franz mvfranz at gmail.com
Thu Jan 15 19:54:09 PST 2009


I compiled the JDK without the following logic (I did not use the Apple
specific logic).  Is that enough to verify that there is no need for the
Apple logic anymore?  I was also able to run a sample 'Notepad' Java
application.

#ifdef __APPLE__
// XXXDARWIN: Hard-code the path to Apple's freetype, as it is
// not included in the dyld search path by default, and 10.4
// does not support -rpath.
//
// This ignores the build time setting of ALT_FREETYPE_LIB_PATH,
// and should be replaced with -rpath/@rpath support on 10.5 or later,
// or via support for a the FREETYPE_LIB_PATH define.
#define FONTCONFIG_DLL_VERSIONED X11_PATH "/lib/"
VERSIONED_JNI_LIB_NAME("fontconfig", "1")
#define FONTCONFIG_DLL X11_PATH "/lib/" JNI_LIB_NAME("fontconfig")
#else
#define FONTCONFIG_DLL_VERSIONED VERSIONED_JNI_LIB_NAME("fontconfig", "1")
#define FONTCONFIG_DLL JNI_LIB_NAME("fontconfig")
#endif

Michael
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.openjdk.java.net/pipermail/bsd-port-dev/attachments/20090115/62f9aeb0/attachment.html 


More information about the bsd-port-dev mailing list