• Icon: Bug Bug
    • Resolution: Won't Fix
    • Icon: Medium Medium (View bug fix roadmap)
    • None
    • 5.8.7, 5.9.1, 5.9.7
    • None
    • JIRA 5.0.4 with GreenHopper 5.9.7, JIRA 5.0.1 with GreenHopper 5.9.1
      JIRA 4.4.5 with GreenHopper 5.8.7

      Hi,

      Every non-ascii characters (e.g. Japanese characters, etc.) in chart are displayed as 'â–¡'.
      It seems that the suitable font isn't used when drawing a chart.

      Best regards,
      Kan Ogawa

        1. GHS-4858-01.png
          GHS-4858-01.png
          56 kB
        2. GHS-4858-02.png
          GHS-4858-02.png
          30 kB
        3. GHS-4858-03.png
          GHS-4858-03.png
          27 kB
        4. GHS-4858-04.png
          GHS-4858-04.png
          118 kB

          Form Name

            [JSWSERVER-4858] Non-ascii characters in chart aren't displayed correctly.

            This bug will not be addressed as it involves Classic Boards functionality, which is currently deprecated and will be removed some time in the future.

            The functionality is superseded by the newer Agile Boards.

            Thanks,

            Michael Tokar added a comment - This bug will not be addressed as it involves Classic Boards functionality, which is currently deprecated and will be removed some time in the future. The functionality is superseded by the newer Agile Boards. Thanks,

            Just to clarify further, we are definitely not migrating all functionality from the existing boards to the Rapid Board, but the Rapid Board is the future.

            Cheers,
            Shaun

            Shaun Clowes (Inactive) added a comment - Just to clarify further, we are definitely not migrating all functionality from the existing boards to the Rapid Board, but the Rapid Board is the future. Cheers, Shaun

            Hi Kan,

            No, over time we have been working to make the Rapid Boards as good as possible. We now think we're at the point (in 5.10.3) that most Scrum users can migrate.

            We are focusing all development on the Rapid Board and not generally fixing bugs in the other boards.

            Thanks,
            Shaun

            Shaun Clowes (Inactive) added a comment - Hi Kan, No, over time we have been working to make the Rapid Boards as good as possible. We now think we're at the point (in 5.10.3) that most Scrum users can migrate. We are focusing all development on the Rapid Board and not generally fixing bugs in the other boards. Thanks, Shaun

            Kan Ogawa added a comment -

            Hi Shaun,

            There is one more question.

            We're gradually migrating all functionality to the Rapid Board.

            This is new highlight of the next major version?
            Also, will its version be available in JIRA 5.0.x?

            Best regards,
            Kan Ogawa

            Kan Ogawa added a comment - Hi Shaun, There is one more question. We're gradually migrating all functionality to the Rapid Board. This is new highlight of the next major version? Also, will its version be available in JIRA 5.0.x? Best regards, Kan Ogawa

            Kan Ogawa added a comment - - edited

            Hi Shaun,

            I have attached sample Rapid Board screenshot that was captured on IE9.

            JIRA 5.0.6 server with GH 5.9.7.1 is running on Windows 7 environment.
            I think that the charts in the Rapid Board is displayed correctly. What is other information that you want?

            Best regards,
            Kan Ogawa

            Kan Ogawa added a comment - - edited Hi Shaun, I have attached sample Rapid Board screenshot that was captured on IE9. JIRA 5.0.6 server with GH 5.9.7.1 is running on Windows 7 environment. I think that the charts in the Rapid Board is displayed correctly. What is other information that you want? Best regards, Kan Ogawa

            Hi Kan,

            Do the charts in the Rapid Board display correctly? We're gradually migrating all functionality to the Rapid Board.

            Thanks,
            Shaun

            Shaun Clowes (Inactive) added a comment - - edited Hi Kan, Do the charts in the Rapid Board display correctly? We're gradually migrating all functionality to the Rapid Board . Thanks, Shaun

            Kan Ogawa added a comment - - edited

            Hi,

            I have investigated the cause based on GreenHopper source.

            These are some codes of com.atlassian.jira.charts.jfreechart.util.ChartDefaults class in JIRA 5.0:

            ..... (snip) .....
            public class ChartDefaults
            {
                public static final AxisLocation rangeAxisLocation = AxisLocation.BOTTOM_OR_LEFT;
                public static final Font defaultFont = new Font("Helvetica", Font.PLAIN, 10);
                public static final Font titleFont = new Font("Helvetica", Font.BOLD, 20);
                public static final Stroke defaultStroke = new BasicStroke(3.0f);
            ..... (snip) .....
            

            These are some codes of com.pyxis.greenhopper.charts.GHChartUtil class in GreenHopper 5.10:

            ..... (snip) .....
                    // renderer
                    XYLineAndShapeRenderer renderer = (XYLineAndShapeRenderer) plot.getRenderer();
                    renderer.setBaseItemLabelFont(ChartDefaults.defaultFont);
            
            ..... (snip) .....
            

            It seems that Helvetica is specified as font to generate a chart dynamically.
            Helvetica font is pre-installed in Mac OS, but isn't contained in Windows OS.

            Best regards,
            Kan Ogawa

            Kan Ogawa added a comment - - edited Hi, I have investigated the cause based on GreenHopper source. These are some codes of com.atlassian.jira.charts.jfreechart.util.ChartDefaults class in JIRA 5.0: ..... (snip) ..... public class ChartDefaults { public static final AxisLocation rangeAxisLocation = AxisLocation.BOTTOM_OR_LEFT; public static final Font defaultFont = new Font("Helvetica", Font.PLAIN, 10); public static final Font titleFont = new Font("Helvetica", Font.BOLD, 20); public static final Stroke defaultStroke = new BasicStroke(3.0f); ..... (snip) ..... These are some codes of com.pyxis.greenhopper.charts.GHChartUtil class in GreenHopper 5.10: ..... (snip) ..... // renderer XYLineAndShapeRenderer renderer = (XYLineAndShapeRenderer) plot.getRenderer(); renderer.setBaseItemLabelFont(ChartDefaults.defaultFont); ..... (snip) ..... It seems that Helvetica is specified as font to generate a chart dynamically. Helvetica font is pre-installed in Mac OS, but isn't contained in Windows OS. Best regards, Kan Ogawa

            Kan Ogawa added a comment -

            There is additional information.
            This problem occurred in Windows environment but not in Linux. It's incomprehensible.

            OS JIRA GreenHopper Result
            Windows 5.0.4 5.9.7
            CentOS 5.0.4 5.9.7

            JIRA's system encoding (-Dfile.encoding) is UTF-8.

            Best regards,
            Kan Ogawa

            Kan Ogawa added a comment - There is additional information. This problem occurred in Windows environment but not in Linux. It's incomprehensible. OS JIRA GreenHopper Result Windows 5.0.4 5.9.7 CentOS 5.0.4 5.9.7 JIRA's system encoding (-Dfile.encoding) is UTF-8. Best regards, Kan Ogawa

            Kan Ogawa added a comment -

            In the following environments it wasn't reproduced:

            • JIRA 4.4 + GH 5.7.1
            • JIRA 4.3.4 + GH 5.6.8

            Best regards,
            Kan Ogawa

            Kan Ogawa added a comment - In the following environments it wasn't reproduced: JIRA 4.4 + GH 5.7.1 JIRA 4.3.4 + GH 5.6.8 Best regards, Kan Ogawa

            Kan Ogawa added a comment -

            I think that this problem is similar to CONF-23279.

            Kan Ogawa added a comment - I think that this problem is similar to CONF-23279 .

              Unassigned Unassigned
              f9ced3a62372 Kan Ogawa
              Affected customers:
              2 This affects my team
              Watchers:
              4 Start watching this issue

                Created:
                Updated:
                Resolved: