Matlab vision textInserter Linux invalid font

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개)

카테고리

도움말 센터File Exchange에서 Computer Vision Toolbox에 대해 자세히 알아보기

질문:

2014년 3월 3일

편집:

2014년 3월 3일

Community Treasure Hunt

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

Start Hunting!

Translated by