[Yt-dev] Call for testing: Freetype module build system
j s oishi
jsoishi at gmail.com
Tue Dec 14 13:02:16 PST 2010
I tested the version in the current tip. Super awesome. I made an
amazing test image, but it has swears, so I will refrain from posting
it to this family-friendly forum.
If we can build a color bar on top of this, we can roll the PlotWindow
out with no matplotlib necessary. Inline image generation on XT5!
Great stuff, Matt.
On Tue, Dec 14, 2010 at 8:26 AM, Matthew Turk <matthewturk at gmail.com> 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
> 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!
> Yt-dev mailing list
> Yt-dev at lists.spacepope.org
More information about the yt-dev