V
V
Veniamin Smirnov2016-08-08 18:02:50
Design
Veniamin Smirnov, 2016-08-08 18:02:50

Where to calculate the indent from the text when developing the layout?

Hey!
There was such a dilemma, I can not google the answer :)
The first case:
b1cb021017064557af9be4662e5585a3.png
- indent from above 20 pixels, I count the indent down from the baseline.
Second case:
dc0ed014eb044422a843a3b54862c245.png
- indent from above is also 20 pixels, I count the indent down from the descender
. Which option is correct?

Answer the question

In order to leave comments, you need to log in

2 answer(s)
G
GreatRash, 2016-08-08
@Ingword

Both options are wrong. Article in the topic .
UPD: Here's another good picture.
Pay attention to the top bearing and bottom leading , so you need to measure the indents by them. True (sadness, sadness) photoshop does not know how.

G
goandkill, 2016-08-09
@goandkill

According to the canons of typography, of course, from the baseline.
But typesetters very rarely typeset on the baseline. Everything is always measured from the lower extensions. Although everything has been invented for them for a long time https://www.smashingmagazine.com/2012/12/css-basel...

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question