This function will convert a string or char array to an image. There are several fonts implemented, each with their own license and number of included characters. All fonts are free to use in some form, but if you plan to use it on a large scale or for commercial purposes you should check the license of the specific font you want to use.
'cmu_typewriter_text' (default): public domain.
'cmu_concrete': public domain.
'ascii': previously published in the text2im() function (FEX:19896 by Tobias Kiessling).
'droid_sans_mono': Apache License, Version 2.0.
'ibm_plex_mono': SIL Open Font License.
'liberation_mono': GNU General Public License
'monoid': MIT License.
The font images were generated using XeTeX and ghostscript. The generator script is included in this submission.
Licence: CC by-nc-sa 4.0
Rik (2021). text2im (https://github.com/thrynae/text2im/releases/tag/v1.1.0), GitHub. Retrieved .
MATLAB Release Compatibility
Platform CompatibilityWindows macOS Linux
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!Start Hunting!