bugGNU Octave - Bugs: bug #54086, Command window and editor window:...


bug #54086: Command window and editor window: rows horizontally truncated

Submitted by:  Valentina Colaiuda <valentinacola>
Submitted on:  Fri 08 Jun 2018 10:21:38 AM UTC  
Category:  GUI Severity:  3 - Normal
Priority:  5 - Normal Item Group:  None
Status:  Fixed Assigned to:  None
Originator Name:  Open/Closed:  Closed
Release:  dev Operating System:  GNU/Linux

Add a New Comment(Rich Markup)

You are not logged in

Please log in, so followups can be emailed to you.


( Jump to the original submission)

Thu 01 Nov 2018 09:22:51 PM UTC, comment #7:

Changeset http://hg.savannah.gnu.org/hgweb/octave/rev/38a881b8fbec now prevents Courier New from being the fallback font for consoel, editor or variable editor.

Torsten Lilge <ttl>
Project Member
Fri 08 Jun 2018 03:49:29 PM UTC, comment #6:

It's also used in the settings dialog if the terminal/fontName setting is not present, which is what I was testing (deleting the settings but keeping the file).

There are also similar default fonts for the editor styles if the settings are deleted from the settings file. I think these may come from some QScintilla internal defaults.

If I remove the settings file entirely, then the default Monospace font seems to be filled in correctly for me on Debian. I'm not sure which minimum version of Qt that requires, but I'm on Qt 5.10 at the moment.

Mike Miller <mtmiller>
Project Administrator
Fri 08 Jun 2018 03:19:02 PM UTC, comment #5:

Indeed, "Courier New" is used as default editor font on Windows and Linux if HAVE_QFONT_MONOSPACE is not defined. If it is defined, the default qt font family for monospace is selected.

However, I can change the fallback from "Courier New" to "Monospace".

Torsten Lilge <ttl>
Project Member
Fri 08 Jun 2018 02:36:27 PM UTC, comment #4:

Specifically, I think it would be far more preferable if Octave used the font name "Monospace" instead of "Courier New" as the default font name for the terminal and the editor styles on GNU/Linux systems. The Fontconfig name "Monospace" is supposed to be configured to be an alias for the best/preferred monospace font for all applications to use by default. The "Courier New" default is suboptimal for everyone I think.

Mike Miller <mtmiller>
Project Administrator
Fri 08 Jun 2018 02:30:37 PM UTC, comment #3:

Torsten - is this a recurring problem with the default font matching on Ubuntu for the font name "Courier New"? Is this something that we can address with a sensible (maybe conditional) default somewhere? Or is this coming from querying default font names from Qt?

I don't see this on Debian when I delete all my settings files. But I also have the Croscore fonts installed on my system.

Mike Miller <mtmiller>
Project Administrator
Fri 08 Jun 2018 12:19:55 PM UTC, comment #2:

Problem solved with other fonts :-)
Thank you very much!


Valentina Colaiuda <valentinacola>
Fri 08 Jun 2018 10:53:11 AM UTC, comment #1:

Thanks for the report. Could you please try to change the terminal and editor font from "Courier New" to another font?

Torsten Lilge <ttl>
Project Member
Fri 08 Jun 2018 10:21:38 AM UTC, original submission:

I have problem with the characters' visualization of the command window space and editor's space (other sections works).
I can only visualize the upper part of characters in a row.
I attach two screenshot to better show the problem.
I use two monitors ad it happens in both of them. I run Octave on Ubuntu 16.04 LTS 64 bit
Processor: Intel Core i7-2670QM CPU @ 2.20 GHz x8
Graphics: Intel Sandybridge Mobile

I tried to unistall and install again, but the problem is still present.
Thank you in advance for any help!

Valentina Colaiuda <valentinacola>


(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach Files:

Attached Files
file #44329:  CommandW.jpg added by valentinacola (143KiB - image/jpeg)
file #44330:  editorW.jpg added by valentinacola (167KiB - image/jpeg)


Depends on the following items: None found

Items that depend on this one: None found


Carbon-Copy List
  • -email is unavailable- added by rik5 (Updated the item)
  • -email is unavailable- added by ttl (Posted a comment)
  • -email is unavailable- added by valentinacola (Submitted the item)
  • -email is unavailable- added by valentinacola

    Do you think this task is very important?
    If so, you can add your encouragement to it.
    This task has 0 encouragements so far.

    Only project members can vote.




    Follow 9 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2018-12-13 rik5 StatusReady For Test => Fixed
        Open/ClosedOpen => Closed
    2018-11-01 mtmiller Carbon-CopyRemoved 80942 => -
    2018-11-01 ttl StatusNone => Ready For Test
        Release4.2.2 => dev
    2018-06-08 mtmiller CategoryNone => GUI
    2018-06-08 valentinacola Attached File- => Added CommandW.jpg, #44329
        Attached File- => Added editorW.jpg, #44330
        Carbon-Copy- => Added -email is unavailable-

    Back to the top

    Powered by Savane 3.4