#978029 octave: unable to load appropriate font

Package:
octave
Source:
octave
Description:
GNU Octave language for numerical computations
Submitter:
Stanislav Maslovski
Date:
2022-02-12 02:48:03 UTC
Severity:
normal
#978029#5
Date:
2020-12-24 19:11:15 UTC
From:
To:
Dear Maintainer,

After testing octave --gui on a fresh Debian installation, I noticed that
octave complains about being unable to load FreeSans OTF font when trying
to create a simple 2D plot. As a result, nothing is plotted. Installing
fonts-freefont-otf package resolved the problem.
warning: ft_manager: unable to load font: /usr/share/fonts/opentype/freefont/FreeSans.otf
warning: called from
    axes at line 107 column 8
    newplot at line 165 column 10
    plot at line 228 column 9

warning: ft_text_renderer: unable to load appropriate font
warning: called from
    axes at line 107 column 8
    newplot at line 165 column 10
    plot at line 228 column 9
.....

Possibly, a depends or recomends is missing?

#978029#10
Date:
2020-12-24 20:22:34 UTC
From:
To:
Hi Stanislav,

Le jeudi 24 décembre 2020 à 19:11 +0000, Stanislav Maslovski a écrit :

octave depends on octave-common, which itself recommends fonts-
freefont-otf. So I don’t understand why fonts-freefont-otf was not
installed on your system.

In any case, I don’t see what should be changed at the octave level.

#978029#15
Date:
2020-12-25 18:08:49 UTC
From:
To:
* Sébastien Villemot <sebastien@debian.org> [2020-12-24 21:22]:

Perhaps he has this setting in his configuration:

APT::Install-Recommends "false";

We could change the Recommend into Depends. Of course, Octave can be
used without plotting, but most users would expect that plotting works
out of the box.

Best,

Rafael

#978029#20
Date:
2022-02-12 02:44:09 UTC
From:
To:
Bonjour,

Prenez acte de votre convocation.

A répondre dès réception.

G.N