diff --git a/app/PdeEditorHeader.java b/app/PdeEditorHeader.java index 769fee164..f0f171bf5 100644 --- a/app/PdeEditorHeader.java +++ b/app/PdeEditorHeader.java @@ -146,10 +146,11 @@ public class PdeEditorHeader extends JComponent { Graphics g = offscreen.getGraphics(); if (font == null) { font = PdePreferences.getFont("header.text.font"); - g.setFont(font); - metrics = g.getFontMetrics(); - fontAscent = metrics.getAscent(); } + g.setFont(font); // need to set this each time through + metrics = g.getFontMetrics(); + fontAscent = metrics.getAscent(); + //} //Graphics2D g2 = (Graphics2D) g; //g2.setRenderingHint(RenderingHints.KEY_TEXT_ANTIALIASING, diff --git a/app/PdePreferences.java b/app/PdePreferences.java index 5f11f049d..bed8eb14f 100644 --- a/app/PdePreferences.java +++ b/app/PdePreferences.java @@ -296,14 +296,14 @@ public class PdePreferences extends JComponent { pain.add(textarea); */ label = new JLabel("More preferences can be edited directly in the file"); - label.setForeground(Color.GRAY); + label.setForeground(Color.gray); pain.add(label); d = label.getPreferredSize(); label.setBounds(left, top, d.width, d.height); top += d.height; // + GUI_SMALL; label = new JLabel(preferencesFile.getAbsolutePath()); - label.setForeground(Color.GRAY); + label.setForeground(Color.gray); pain.add(label); d = label.getPreferredSize(); label.setBounds(left, top, d.width, d.height); diff --git a/build/macosx/dist/Processing.app/Contents/Info.plist b/build/macosx/dist/Processing.app/Contents/Info.plist index a196a1b1d..b2916e434 100755 --- a/build/macosx/dist/Processing.app/Contents/Info.plist +++ b/build/macosx/dist/Processing.app/Contents/Info.plist @@ -3,7 +3,7 @@ CFBundleName - finch + Processing CFBundleVersion 10.2 CFBundleAllowMixedLocalizations @@ -44,7 +44,7 @@ true com.apple.hwaccel true - com.apple.macos.use-file-dialog-packages + apple.awt.use-file-dialog-packages false diff --git a/todo.txt b/todo.txt index f82d3d080..b88bb29ab 100644 --- a/todo.txt +++ b/todo.txt @@ -219,15 +219,17 @@ X http://processing.org/discourse/yabb/YaBB.cgi?board=Proce55ing_software_bugs X history is not implemented in this version X update build instructions for cvs - -_ macosx -_ check to see if new linemetrics stuff is working better (it's not) -_ enable the "use screen menubar" stuff (finch?) -_ check to see if it's running ok with new java update +X macosx +X check to see if new linemetrics stuff is working better (it's not) +X redo setFont() in PdeEditorHeader +X enable the "use screen menubar" stuff (finch?) +X check to see if it's running ok with new java update +X update to new shell runner (old mrj guy was ancient) with casey _ figure out what to include for examples/libraries _ let's not call it 'expert', let's just say w/o java +_ "draw" is not highlighted as a keyword ......................................................................