If you'd like to specify the font weight of your text overlay you can easily do so by adding it as a transformation parameter. Here are examples of different font weights that you can use:
Normal:
http://res.cloudinary.com/demo/image/upload/w_300,o_30/l_text:Roboto_50_normal:Hello/sample.jpg
Bold:
http://res.cloudinary.com/demo/image/upload/w_300,o_30/l_text:Roboto_50_bold:Hello/sample.jpg
Light:
http://res.cloudinary.com/demo/image/upload/w_300,o_30/l_text:Roboto_50_light:Hello/sample.jpg
Thin:
http://res.cloudinary.com/demo/image/upload/w_300,o_30/l_text:Roboto_50_thin:Hello/sample.jpg
If you'd like to read more about other options for styling your text overlays you can do so in our documentation here.
Comments
2 comments
Hi, what about fonts that have two (or more) words in their name? E.g. DM Sans or IBM Plex Sans etc? I've been trying to add DM Sans but with no luck. I'd appreciate help on that. Thank you.
Hi Greg,
It should work, spaces should be replaced by underscores.
You just need to make sure that those files are uploaded as authenticated raw files.
Loic
Please sign in to leave a comment.