On Fri, Aug 23, 2013 at 11:21 AM, Russell Owen <ro...@uw.edu> wrote: > Here are my old instructions (I deleted them when I started using Apple's > libraries, but the wayback machine saves the day):
Thanks Russell -- this is helpful. A few comments: > • If you plan to redistribute matplotlib, delete (or temporarily > move) the dynamic library so matplotlib statically links to libpng: > % sudo rm /usr/local/lib/libpng*.dylib I've found that passing --disable-shared works to prevent the dylibs from being built at all. At least with libpng. > • To check if a library is universal, run "file" on it, e.g.: > % file /usr/local/lib/libpng*.a this doesn't work for me on *.a files -- though it does on dylibs > • Before building, you may wish to modify > include/freetype/configure/ftoption.h to enable hinting: > • uncomment: #define TT_CONFIG_OPTION_BYTECODE_INTERPRETER > • perhaps comment out: #define > TT_CONFIG_OPTION_UNPATENTED_HINTING handy to know. Thanks, -Chris -- Christopher Barker, Ph.D. Oceanographer Emergency Response Division NOAA/NOS/OR&R (206) 526-6959 voice 7600 Sand Point Way NE (206) 526-6329 fax Seattle, WA 98115 (206) 526-6317 main reception chris.bar...@noaa.gov ------------------------------------------------------------------------------ Introducing Performance Central, a new site from SourceForge and AppDynamics. Performance Central is your source for news, insights, analysis and resources for efficient Application Performance Management. Visit us today! http://pubads.g.doubleclick.net/gampad/clk?id=48897511&iu=/4140/ostg.clktrk _______________________________________________ Matplotlib-devel mailing list Matplotlib-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/matplotlib-devel