New version of Hieroglyph released.

Written by Jeff Heard on February 24th, 2009

I’ve changed colors so that they’re now handled by Russell O’Connor’s excellent Data.Colour package, and changed Interactive up a bit to make it a bit easier to get at the canvas and data structures, point being to allow you to use Hieroglyph inside of a larger Gtk GUI more easily.  There shouldn’t be any code changes required at this time, though.  Can’t guarantee I won’t break the interface a bit in the future, but for now, you should see slightly better performance and have a lot more control over how color is displayed.  Thanks!

4 Comments so far ↓

  1. Tim Clark says:

    Could you give an example of how to use the new colour handling? I am trying to run one of your previous sparkline examples but I can’t work out how to use Data.Colour to produce a suitable value of black or white.

  2. Jeff Heard says:

    Sure I can do that. I was planning on posting today anyway.

  3. Markus says:

    Hi, I managed to successfully run your “beautiful code” Cairo and OpenGL example. Great material.
    But I can’t somehow install the Hieroglyph package via cabal on Windows XP. It says:
    cc1.exe: out of memory allocating 65536 bytes
    cabal: Error: some packages failed to install.
    Any advice?
    BR

  4. Jeff Heard says:

    I would guess it might be in the compiler flags in the cabal file. IIRC I set it up as -fvia-C and -optc-O2 — you could take those out.

Leave a Comment