On Tue, 20 Jul 2010 09:53:02 +0200, Lars T. Kyllingstad
<[email protected]> wrote:
On Tue, 20 Jul 2010 03:22:37 +0000, dsimcha wrote:
== Quote from Lars T. Kyllingstad ([email protected])'s article
> Yea, I tried to use it on *nix today and realized that. This will
> get fixed soon.
> In addition to the typo, I forgot that getting a font can return
> null. I have no
> idea why it works on Windows. Anyhow, I'll make platform-specific
> default fonts (using core X11 fonts on *nix and properly spelled
> Verdana on Windows) and as a last resort, if the default font doesn't
> exist, I'll make it just not render text instead of crashing the
> program.
So that was why it kept going SEG-V on me! I tried it out earlier
today, but didn't have time to investigate too much. It works fine
now, and I have the demo window up and running. Will definitely use
for serious work tomorrow. ;)
-Lars
Fixed. http://dsource.org/projects/scrapple/changeset/772
Cool, thanks! :)
I fired up my barely-used Linux partition for this. I knew it would
come in handy. I also kludged around the weird text cutoff bugs that
only appear on Linux. (I don't want to say I fixed it because I didn't
address the root cause and I don't know what the root cause is. My best
guess is that on Linux the font measurements are slightly off.)
The most serious bug now, IMHO, is that there's no way to save plots to
a file from a machine with console-only access, such as a supercomputer
that you SSH into. I don't know how to fix this. Calling Main.init()
on a machine with no windowing system borks everything. Does anyone
have any suggestions on how to fix this?
Even if you SSH into it, you can still run GUI apps remotely using X
forwarding. But if you're saying that the machine doesn't have X
installed at all (do those still exist?), I have no suggestions.
-Lars
You could re-write it to use GD, its just a drawing library.