Menu

#160 fixed width font in console

1.9.2.5
closed
7
2015-12-30
2015-12-13
Beaming
No

Dear Flemming,

Would it be possible to assign a fixed width font to the console. It looks like currently it uses a proportional font, so it quite to hard to make nicely formatted ourtput. Debugging would be much easier (at least for me) with the fixed width font.

Discussion

  • Flemming N. Larsen

    • labels: --> Console, Font
    • assigned_to: Flemming N. Larsen
    • Priority: 1 --> 7
     
  • Flemming N. Larsen

    Do you mean the Robot Console? It should already use a monospaced (fixed width) font already? Which operating system do you use?
    Perhaps you could attach a screen shot?

     
  • Anonymous

    Anonymous - 2015-12-16

    Hi,

    Most likely it is a missing font issue. But I have no clue which one it is.

    I am using Debian Jessie 8.2 with openjdk, not the sun java. The screenshot is attached

     
  • Beaming

    Beaming - 2015-12-17

    Since I managed to not sign my post, I repeat it again.

    Most likely the issue is a missing font which is replaced automaticly with something else. But I do not see any warnings or errors.

    I am attaching the screenshot of the robocode console, to show my current view in the console. Note the width difference of "=" and other letters, especially "i".

    I am using java from the openjdk (not the sun version) and run it all on Debian Jessie 8.2, thought I recall this issue being present for several years.

     
    • Anonymous

      Anonymous - 2015-12-17

      Thanks. :-) I believe you are right that no font is actually being set for the console, so it's up to the implementation behind to decide what font to use. This needs attention of course, as the font must be monospaced (fixed width).

       
  • Flemming N. Larsen

    Thanks for the screen shot. I think you are right that no font is actually being set for the Robot Console, and hence it is up to the implementation (perhaps even OS) to decide upon what font to use. It needs to be monospaced (fixed width) for sure.

     
  • Flemming N. Larsen

    I have now made a fix that changes an console fonts into plain fixed with fonts:

    http://robocode.sourceforge.net/files/robocode-1.9.2.5-Alpha-5-setup.jar

     
  • Beaming

    Beaming - 2015-12-20

    Dear Flemming,

    Thanks a lot for this feature implementation. Now my console looks properly alligned with the fixed width font.

     
  • Flemming N. Larsen

    • status: open --> closed
     
  • Flemming N. Larsen

    Closed with the release of 1.9.2.5

     
  • Flemming N. Larsen

    • Group: Future Release --> 1.9.2.5
     

Anonymous
Anonymous

Add attachments
Cancel





Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.