Does "insertText" not support Chinese fonts? How do I add Chinese fonts to my images?
5 ビュー (過去 30 日間)
古いコメントを表示
Currently, only fonts with "asciil" code are supported, but how can I do it to support Chinese fonts?
0 件のコメント
採用された回答
Chunru
2021 年 9 月 13 日
I = imread('peppers.png');
% Find out the Chinese Fonts installed in your system
% listTrueTypeFonts
I=insertText(I, [10 20],'中文', 'Font', 'SimSun');
imshow(I)
その他の回答 (0 件)
参考
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!