Currently, Transformation class is replacing all spaces on parameters to underscore in this line:
|
transformations.add(Expression.normalize(joined)); |
This is causing some issues, like when I try to use some font name that contains spaces (eg: Roboto Condensed), it replaces with underscores and the URL become invalid (because font is invalid). The same applies to text content (overlay), when using the text My Text Content it appears on final Image as My_Text_Content.
Example:
cloudinary.url()
.signed(true)
.resourceType("video")
.transformation(new Transformation()
.height(480)
.width(720)
.crop("fill")
.chain()
.color("white")
.overlay("text:Roboto_70_bold:My Text Content"))
.format("jpg")
.generate("video/2130");
Results in:

Currently, Transformation class is replacing all spaces on parameters to underscore in this line:
cloudinary_java/cloudinary-core/src/main/java/com/cloudinary/Transformation.java
Line 723 in 738b328
This is causing some issues, like when I try to use some font name that contains spaces (eg: Roboto Condensed), it replaces with underscores and the URL become invalid (because font is invalid). The same applies to text content (overlay), when using the text
My Text Contentit appears on final Image asMy_Text_Content.Example:
Results in:
