MATLAB爱好者论坛-LabFans.com

MATLAB爱好者论坛-LabFans.com (https://www.labfans.com/bbs/index.php)
-   资料存档 (https://www.labfans.com/bbs/forumdisplay.php?f=72)
-   -   在屏幕上显示希伯来文字 (https://www.labfans.com/bbs/showthread.php?t=26651)

poster 2019-12-14 20:38

在屏幕上显示希伯来文字
 
我想使用MATLAB中的[URL="http://www.mathworks.com/help/matlab/ref/text.html"]text[/URL]命令在屏幕上显示希伯来语文本:

text(0.6, 0.5, '讬专讜拽', 'rotation', 180, 'fontsize', 50, 'color', 'r') 问题是它显示乱码。

有人知道为什么吗?我应该怎么做才能正确显示文本?



[B]回答:[/B]

您需要使用支持希伯来语字符的字体-默认字体(Helvetica)不支持。您可以使用“ Courier”,“ David”等。例如:

text(0.6,0.5,'讬专讜拽','fontname','david','rotation',180,'fontsize',50,'color','r') 讘讛爪诇谳讛!



[url=https://stackoverflow.com/questions/4639975]更多&回答...[/url]


所有时间均为北京时间。现在的时间是 23:25

Powered by vBulletin
版权所有 ©2000 - 2025,Jelsoft Enterprises Ltd.