Answer the question
In order to leave comments, you need to log in
How to properly work with font-sizes in Sketch (pt to px)?
I'm laying out the layout, I met text with a size of 5px - 7px . I tell the designer: "Your font sizes are too small here, you can barely see them, you should increase them", to which I get the answer: "dude, these are not pixels (px), but points (pt)". Started googling.
Found:
Answer the question
In order to leave comments, you need to log in
Interesting.
Created a block of text, size - 14 (something).
Right click - Copy CSS Attributes. I also get font-size: 14px.
And I have the layout at my fingertips, I'm typing from it, similarly to the 14px text.
If I used the formula about 1px = 0.75pt ( https://stackoverflow.com/questions/44730718/sketc... ), then it should be 19px.
I export the layout to jpg, take the PixelPerfect extension, apply the layout to the layout.
No, it's clearly 14px.
Use the same method, you will understand what font-size is actually needed. In the end, just adjust by changing in the inspector.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question