Custom Font Getting Cropped Weirdly

Prasanna
Prasanna Member Posts: 8
edited December 2023 in Developer APIs

I'm trying to implement a custom font on the transformation URL API but whenever I try using it it looks like it gets cropped weirdly.

Here's a transformation URL to showcase what happens when I try the name Sam:

Answers

  • DannyFromCloudinary
    DannyFromCloudinary Member, Cloudinary Staff Posts: 150

    Hey @Prasanna.

    Thanks for getting in touch with us.

    Unfortunately, the glyphs on the font are larger than the canvas of the text layer that they are being drawn onto, which is resulting in this sort of "chopped off" look. Sadly, there is no workaround for this, and I appreciate this is less than ideal, but you would need to use a different font.

    Please let us know if you have any further questions and we'll do our best to help.

    Kind regards,

    -Danny