Custom fonts
Apr 24, 2017
Custom fonts can be installed easily by uploading ttf
and otf
files as authenticated raw files to Cloudinary:
Cloudinary::Uploader.upload( "AlexBrush-Regular.ttf", resource_type: 'raw', type: 'authenticated', public_id: 'AlexBrush-Regular.ttf')
Use your font for a text overlay by specifying the public ID of the authenticated raw font file instead of a regular font family:
For example: l_text:AlexBrush-Regular.ttf_90:Hello
For more details, see Using custom fonts for text overlays in the Cloudinary documentation.