octave-maintainers
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Octave-gui and fontsize in Terminal


From: Jacob Dawid
Subject: Re: Octave-gui and fontsize in Terminal
Date: Mon, 23 Jan 2012 14:32:24 +0100

Ben, I got your mail. A new terminal and a new chat client is in the works, so your problem should be fixed soon.

See here:

http://code.google.com/p/qterminal/
http://code.google.com/p/qirc

Am 23. Januar 2012 14:30 schrieb Ben Abbott <address@hidden>:
On Jan 23, 2012, at 8:28 AM, Ben Abbott wrote:

> On Jan 23, 2012, at 3:52 AM, Michael Goffioul wrote:
>
>> On Mon, Jan 23, 2012 at 1:48 AM, Ben Abbott <address@hidden> wrote:
>>
>>> Michael,
>>>
>>> For me (on MacOS X) the fontsize in octave-gui's terminal session is very small.
>>>
>>> Is there a convenient way to change the fontsize ?
>>
>> I don't think so, the font seems to be hard-coded in TerminalView.cpp.
>>
>> Michael.
>
> Ok. The diff below fixes the problem for me.
>
> $ hg diff
> diff --git a/gui/src/TerminalView.cpp b/gui/src/TerminalView.cpp
> --- a/gui/src/TerminalView.cpp
> +++ b/gui/src/TerminalView.cpp
> @@ -26,7 +26,7 @@
>  TerminalView::TerminalView (QWidget * parent)
>    : QPlainTextEdit (parent), Terminal ()
>  {
> -  setFont (QFont ("Monospace", 10));
> +  setFont (QFont ("Monospace"));
>    setSizePolicy (QSizePolicy::Expanding, QSizePolicy::Expanding);
>    m_terminalEmulation = TerminalEmulation::newTerminalEmulation (this);
>
> With this all fontsizes are consistent, but the Terminal emulation isn't working for me on MacOS X. There may be other problems, but there are no line feeds, new lines, etc. A app image is attached.
>
> I"ve cc'd Jacob.
>
> Ben
>
> <Screen Shot 2012-01-23 at 8.25.13 AM.png>

My attachment was too large. Trying again.

Ben


reply via email to

[Prev in Thread] Current Thread [Next in Thread]