Does "insertText" not support Chinese fonts? How do I add Chinese fonts to my images?
6 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
cui,xingxing
el 13 de Sept. de 2021
Comentada: cui,xingxing
el 13 de Sept. de 2021
Currently, only fonts with "asciil" code are supported, but how can I do it to support Chinese fonts?
0 comentarios
Respuesta aceptada
Chunru
el 13 de Sept. de 2021
I = imread('peppers.png');
% Find out the Chinese Fonts installed in your system
% listTrueTypeFonts
I=insertText(I, [10 20],'中文', 'Font', 'SimSun');
imshow(I)
Más respuestas (0)
Ver también
Categorías
Más información sobre Color Space Formatting and Conversions en Help Center y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!