From d996f2d08f4f20d2ec9df9ece9ec14569cddbae5 Mon Sep 17 00:00:00 2001 From: benfry Date: Mon, 6 Jan 2003 22:10:09 +0000 Subject: [PATCH] people, todos, and tweak for os9 --- processing/app/PdeEditor.java | 7 +++++++ processing/todo.txt | 9 +++++++++ 2 files changed, 16 insertions(+) diff --git a/processing/app/PdeEditor.java b/processing/app/PdeEditor.java index f5390662d..8a1f343c9 100644 --- a/processing/app/PdeEditor.java +++ b/processing/app/PdeEditor.java @@ -1589,7 +1589,14 @@ afterwards, some of these steps need a cleanup function String urlstr = url.getFile(); urlstr = urlstr.substring(0, urlstr.lastIndexOf("/") + 1) + "sketch.properties"; +#ifdef JDK13 + // the ifdef is weird, but it's set for everything but + // macos9, and this will never get hit output = new FileOutputStream(URLDecoder.decode(urlstr)); +#else + System.err.println("bad error while writing sketch.properties"); + System.err.println("you should never see this message"); +#endif } //url = new URL(urlstr + "sketch.properties"); diff --git a/processing/todo.txt b/processing/todo.txt index 2961e1e8e..4d7aa9b34 100644 --- a/processing/todo.txt +++ b/processing/todo.txt @@ -184,6 +184,15 @@ _ manifests itself in sketch naming, can't be constrained _ may not be the case under swing? _ escape key not quitting presentation mode _ no events seem to be coming through at all +_ text in editor is anti-aliased, allow to turn off +_ also make text courier instead of monospaced +public void paint(Graphics g) +{ + Graphics2D g2 = (Graphics2D) g; + g2.setRenderingHint(RenderingHints.KEY_TEXT_ANTIALIASING, + RenderingHints.VALUE_TEXT_ANTIALIAS_OFF); + super.paint(g2); +} macos9 _ reference doesn't launch on mac (mKoser)