Uploaded image for project: 'NetBeans'
  1. NetBeans
  2. NETBEANS-1901

Font rendering issue - Display bug on a space followed by a tab

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 10.0, 11.0, 11.1
    • 12.0
    • Windows 10, MacOS High Sierra & MacOS Mojave
      Netbeans 10, Netbeans 11 & Netbeans 11.1
      JRE 11 & 12

    Description

      There appears to be a bug in the editor when a space is followed by a tab. The editor does not display the space and tab, but the space and tab characters are present in the file.

      The editor / code formatting does not appear to be functioning correctly here.

      UPDATE:
      In the tab "Fonts & Colors" in the "Syntax" subtab I had the "default" font set to "Monospaced 16". The issue occurs when using this font size. When I change it back to the default value "Monospaced 13" or "Monospaced 18" it works just fine. After some more testing I found out that with the font set to "Monospaced 10, 11, 12, 14, 15, 16, 17, 19 & 20" it does not work (didn't test higher or lower values).

      UPDATE 2:
      The issue persists in Netbeans version 11.1 now with JRE 12.0.2 installed.

      Attachments

        1. 20190320_syntax_settings.png
          103 kB
          Admeen
        2. netbeans-1901-jy-02.png
          43 kB
          Junichi Yamamoto
        3. netbeans-1901-jy-01.png
          11 kB
          Junichi Yamamoto
        4. 20190319_expected_result.png
          49 kB
          Admeen
        5. 20190319_actual_result.png
          48 kB
          Admeen
        6. 20190319_example_code.php
          0.2 kB
          Admeen
        7. formatting_settings.png
          91 kB
          Admeen
        8. editor_bug_space_tab.png
          39 kB
          Admeen

        Activity

          People

            Unassigned Unassigned
            admeen Admeen
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: