Matlab vision textInserter Linux invalid font

1 次查看(过去 30 天)
Hi,
I'm using Matlab in Ubuntu 12.04. I have a problem on using vision.TextInserter function of vision toolbox. I can only use the font LucidaSansRegular whereas if I try to use a different font I receive "Times is not a valid setting for the Font property". I have tried all the fonts returned by the command listfonts. My basic code is the following:
if true
h = vision.TextInserter();
h.Font = fontname;
end
It seems that the only available font is LucidaSansRegular. Why? Thank you

回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Geometric Transformation and Image Registration 的更多信息

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by