<html>
    <head>
      <base href="http://fiji.sc/bugzilla/" />
    </head>
    <body><table border="1" cellspacing="0" cellpadding="8">
        <tr>
          <th>Bug ID</th>
          <td><a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - microns are shown as µm x um in the image view!"
   href="http://fiji.sc/bugzilla/show_bug.cgi?id=1067">1067</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>microns are shown as µm x um in the image view!
          </td>
        </tr>

        <tr>
          <th>Product</th>
          <td>ImageJ
          </td>
        </tr>

        <tr>
          <th>Version</th>
          <td>unspecified
          </td>
        </tr>

        <tr>
          <th>Hardware</th>
          <td>All
          </td>
        </tr>

        <tr>
          <th>OS</th>
          <td>Windows
          </td>
        </tr>

        <tr>
          <th>Status</th>
          <td>NEW
          </td>
        </tr>

        <tr>
          <th>Severity</th>
          <td>trivial
          </td>
        </tr>

        <tr>
          <th>Priority</th>
          <td>P5
          </td>
        </tr>

        <tr>
          <th>Component</th>
          <td>Common
          </td>
        </tr>

        <tr>
          <th>Assignee</th>
          <td>ctrueden@wisc.edu
          </td>
        </tr>

        <tr>
          <th>Reporter</th>
          <td>derigo@impex.co.at
          </td>
        </tr>

        <tr>
          <th>CC</th>
          <td>imagej-bugs@imagej.net
          </td>
        </tr></table>
      <p>
        <div>
        <pre>In Calibration.java if one looks at function setUnit ( or setXUnit ) the unit
gets sanintized! => if you call it with "um" it changes into "µm"

BUT: for setYUnit and setZUnit this is not done!
SUGGESTED BUGFIX:

private static String sanitizeUnit( String unit ) 
{
    if (unit==null || unit.equals("")) {
    return "pixel";
    } else {
    if (unit.equals("um")) return "\u00B5m";
        return unit;
    }
}

/** Sets the default length unit (e.g. "mm", "inch"). */
public void setUnit(String unit) {
     this.unit = sanitizeUnit( unit );
     units = null;
}

/** Sets the X length unit. */
public void setXUnit(String unit) {
    setUnit(unit);
}

/** Sets the Y length unit. */
public void setYUnit(String unit) {
        yunit = sanitizeUnit( unit );
}

/** Sets the Z length unit. */
public void setZUnit(String unit) {
     zunit = sanitizeUnit( unit );
}</pre>
        </div>
      </p>
      <hr>
      <span>You are receiving this mail because:</span>
      
      <ul>
          <li>You are on the CC list for the bug.</li>
      </ul>
    </body>
</html>