Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Issue with text label sizes #515

Open
readtedium opened this issue Dec 27, 2024 · 1 comment
Open

Issue with text label sizes #515

readtedium opened this issue Dec 27, 2024 · 1 comment

Comments

@readtedium
Copy link

Running into an issue with text labels on multiple lines where the first one shows up slightly larger than the rest.

Here is an example of the file with all fonts the same size, with the corresponding URL code shown:

PunkRockMBA_2

https://[domain]/unsafe/1200x800/filters:fill(b00c20):watermark(/uploads/redboxlarge.svg,175,200,40,71,90):label(The%20Punk%20Rock%20MBA%3A%20On,200,240,48,ffffff,Besley):label(YouTube%2C%20Algorithms%2C,200,298,48,ffffff,Besley):label(Selling%20Out%20And%20Quitting,200,356,48,ffffff,Besley)/uploads/PunkRockMBA.gif

And with the type slightly larger on later lines:

PunkRockMBA_1

https://[domain]/unsafe/1200x800/filters:fill(b00c20):watermark(/uploads/redboxlarge.svg,175,200,40,71,90):label(The%20Punk%20Rock%20MBA%3A%20On,200,240,48,ffffff,Besley):label(YouTube%2C%20Algorithms%2C,200,310,56,ffffff,Besley):label(Selling%20Out%20And%20Quitting,200,380,56,ffffff,Besley)/uploads/PunkRockMBA.gif

It appears to be a rendering error in imagor that’s causing this, alas.

(More generally, text wrapping would be a nice feature, if possible.)

@readtedium
Copy link
Author

readtedium commented Dec 27, 2024

Having tried this with more images, there seems to be no rhyme or reason to it. Some images display text fine, others just randomly resize the label text on different lines. I don’t have any further clarity other than to note that the labels seem to be deciding their width at random.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant