[Yt-dev] Call for testing: Freetype module build system

Cameron Hummels chummels at astro.columbia.edu
Tue Dec 14 11:05:02 PST 2010


This works on kraken and my OS X setup.  Awesome work!

On 12/14/10 11:26 AM, Matthew Turk wrote:
> Hi all,
>
> I wrote up a very simple wrapper to do textual annotations directly
> using Freetype.  This allows, for instance, adding annotations to
> image buffers created by fixed resolution buffers, volume rendering,
> etc.  It should, eventually, also allow us to make a subset of plots
> with colorbars without using Matplotlib.
>
> Anyway, I've already added freetype to the yt build system.
> Additionally, matplotlib requires it.  So it *should* already exist on
> the system, although I've had to add some guesswork to get the yt
> build system (not the install script) to link against the freetype
> wrappers.
>
> I've bundled up the changes and attached them to this email.  It would
> be amazing if I could have a couple people try unbundling these
> changes, updating to hash 2f9479b4f1dd, re-cythonizing and attempting
> a build.  This process should look something like:
>
> hg unbundle freetype.hg
> hg up -C 2f9479b4f1dd
> cython yt/utilities/amr_utils.pyx
> python setup.py build_ext -i
>
> Testing this will help to make sure that we can push the new freetype
> module out into the wild, and use it more generally for annotating
> volume rendering, etc etc.  You can see the (documented!) function as
> "annotate_image" which should be in mods, and which accepts a bitmap
> (as, for instance, output by write_image) as input.
>
> Any reports of success/failure would be great.  Thanks!
>
> -Matt
>
>
> _______________________________________________
> Yt-dev mailing list
> Yt-dev at lists.spacepope.org
> http://lists.spacepope.org/listinfo.cgi/yt-dev-spacepope.org
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.spacepope.org/pipermail/yt-dev-spacepope.org/attachments/20101214/887a30c4/attachment.html>


More information about the yt-dev mailing list