N
N
No_Name02016-12-07 00:48:26
Adobe Photoshop
No_Name0, 2016-12-07 00:48:26

How to convert Photoshop tracking to px for css?

What unit of measurement does Photoshop use to set font tracking?
How to convert this size to simple px?
1kX9YG.png

Answer the question

In order to leave comments, you need to log in

3 answer(s)
N
No_Name0, 2016-12-07
@No_Name0

I guess
40 is 0.4px

R
Rodion Smolyakov, 2016-12-07
@h0tta6

The formula for calculating letter-spacing in em is:
X / 1000 = Y
Where X is the spacing value in Photoshop and Y is the same value expressed in em for CSS.
X * S / 1000 = P
Where X is the spacing value in Photoshop, S is the font size in pixels (when working at 72 dpi), and P is the spacing value for CSS.
Some browsers calculate the spacing value in pixels even if it is given in em: it rounds up to an integer value.

O
Oleg, 2016-12-07
@politon

I hope I explained it clearly =)

I hope it's clear how to search in Google
htmlbook.ru/css/letter-spacing

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question