Discussion:
Font cmss10 is not supported in Matlab R2011b
(too old to reply)
Claudio
2011-11-09 10:18:14 UTC
Permalink
Hi,

In version 2010b (in Windows XP) I used to use this definition for my texts and labels:
xlabel('\textsf{Speed [m/s]}', 'interpreter','latex');

Since the installation of 2011b I get the following warning:
"Warning: Font cmss10 is not supported"

The font still appears as sans serif, but it's not cmss10.

I found that I can use the Tex interpreter:
xlabel('\fontname{Calibri}Speed [m/s]', 'interpreter','tex');
But in this case the following (which I used in 2010b) does not work:
xlabel('\textsf{$$\sqrt{\hbox {Speed [m/s]}}$$}', 'interpreter','tex');

Any ideas?
Claudio
Claudio
2011-11-29 08:32:09 UTC
Permalink
Update:
It turns out that this "Font cmss10 is not supported" error is a Matlab bug. They are working to fix this!
Post by Claudio
Hi,
xlabel('\textsf{Speed [m/s]}', 'interpreter','latex');
"Warning: Font cmss10 is not supported"
The font still appears as sans serif, but it's not cmss10.
xlabel('\fontname{Calibri}Speed [m/s]', 'interpreter','tex');
xlabel('\textsf{$$\sqrt{\hbox {Speed [m/s]}}$$}', 'interpreter','tex');
Any ideas?
Claudio
Ron Lu
2014-01-03 17:15:08 UTC
Permalink
How come I still have this warning with 2012b if they were working on it?
Post by Claudio
It turns out that this "Font cmss10 is not supported" error is a Matlab bug. They are working to fix this!
Post by Claudio
Hi,
xlabel('\textsf{Speed [m/s]}', 'interpreter','latex');
"Warning: Font cmss10 is not supported"
The font still appears as sans serif, but it's not cmss10.
xlabel('\fontname{Calibri}Speed [m/s]', 'interpreter','tex');
xlabel('\textsf{$$\sqrt{\hbox {Speed [m/s]}}$$}', 'interpreter','tex');
Any ideas?
Claudio
Thomas
2015-02-06 15:56:06 UTC
Permalink
Post by Ron Lu
How come I still have this warning with 2012b if they were working on it?
and the same in 2013b.....
Johannes Weidenauer
2016-06-11 22:13:03 UTC
Permalink
Post by Thomas
Post by Ron Lu
How come I still have this warning with 2012b if they were working on it?
and the same in 2013b.....
Still the same in 2015b (!)
If they really need 4 years to fix a bug, they should rather sell potatoes.
No, I don't think it's a bug, but what may cause this error message?
Claudio
2016-07-25 10:54:03 UTC
Permalink
Post by Johannes Weidenauer
Post by Thomas
Post by Ron Lu
How come I still have this warning with 2012b if they were working on it?
and the same in 2013b.....
Still the same in 2015b (!)
If they really need 4 years to fix a bug, they should rather sell potatoes.
No, I don't think it's a bug, but what may cause this error message?
Still a bug in 2016b.
You guys should submit this bug to the Mathworks as well, maybe they will do something about it...
Philippe Demoulin
2022-01-10 14:21:06 UTC
Permalink
Still a bug in 2019a !
Yoseob Yoon
2022-09-20 20:35:59 UTC
Permalink
Still in 2022a.

Loading...