Skip to content

Negative letter-spacing doesn't work #63

@mickaZenika

Description

@mickaZenika

Hello everyone,

i'm using Gotenberg to produce some small PDF from twig templates. I have a case i cannot understand it and i wonder if someone could have an explanation.
I want to decrease the letter-spacing a little bit so i used letter-spacing: -0.3pt; on main {} in my css.
It goes like this :

Image

instead of

Image

i'm also rendering the template independantly to see if my error is from bad css only but it's not.

Is there some issue with Gotenberg on the letter spacing ? Where does the problem come from ?

Thanks to all reading this :)

PS: I found a workaround with a 90% scaleX but it's not as good as the letter spacing

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions