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
Cite As
Rik (2023). text2im (https://github.com/thrynae/text2im/releases/tag/v1.1.0), GitHub. Retrieved .
MATLAB Release Compatibility
Platform Compatibility
Windows macOS LinuxTags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Discover Live Editor
Create scripts with code, output, and formatted text in a single executable document.
Version | Published | Release Notes | |
---|---|---|---|
1.1.0 | See release notes for this release on GitHub: https://github.com/thrynae/text2im/releases/tag/v1.1.0 |
||
1.0.1 | See release notes for this release on GitHub: https://github.com/thrynae/text2im/releases/tag/v1.0.1 |
||
0.0.1 |