[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Missing font warnings on mac os octave 5.2.0
From: |
sshah |
Subject: |
Missing font warnings on mac os octave 5.2.0 |
Date: |
Thu, 30 Apr 2020 12:07:18 -0500 (CDT) |
This missing font warning occurs on mac os 10.15.4 and on 10.13.6 octave
5.2.0_7 installed using Homebrew.
gnuplot version 5.2.8, qt version 5.14.2 installed using Homebrew.
On both these installs are using gnuplot graphics toolkit and qt terminal
-----------------------------
cat ~/.octaverc
setenv("GNUTERM",'qt')
graphics_toolkit("gnuplot")
octave:1> plot(1:10)
qt.qpa.fonts: Populating font family aliases took 187 ms. Replace uses of
missing font family "Sans" with one that exists to avoid this cost.
----------------------
This warning occurs each time a new figure is generated (new axis).
The warning can be suppressed by choosing a font already installed in System
Library. For example:
setenv("GNUTERM",'qt font "Arial"') fixes it.
However, another warning is issued:
title('New Test')
qt.qpa.fonts: Populating font family aliases took 204 ms. Replace uses of
missing font family ":Bold" with one that exists to avoid this cost.
This was suppressed using:
title('New Test','fontweight','normal')
Is there a way to fix this problem other than changing every line where
title('text') is called in script files?
This suggestion of using set at start of the session by @bpabbot did not
work axes fonts or text.
set (0, "defaultaxesfontname", "Arial")
set (0, "defaulttextfontname", "Arial")
--
Sent from: https://octave.1599824.n4.nabble.com/Octave-General-f1599825.html
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- Missing font warnings on mac os octave 5.2.0,
sshah <=