Hi everyone,
I have a question about a font's default leading,
i.e. the distance between baselines. I have done some experimenting with the
Distiller and can't quite figure out how it computes the default
leading.
For example, when distilling a simple 2-line Word
document (10pt Times-Roman, single-spaced) the following is generated by the
distiller:
BT
/TT0 1 Tf
0.0024 Tc 10.02 0 0 10.02 90
710.82 Tm
(AA)Tj
ET
BT
/TT0 1 Tf
10.02 0 0 10.02
90 699.3 Tm
(BB)Tj
The distance between the two lines is 710.82 - 699.3 = 11.52, while the font size is 10.
Where is the extra 1.52 coming from? The AFM
contains no apparent references to the leading.
I am also facing a more complex problem - how to
compute distances between lines of text of diffrent point size (e.g. line 1 is
size 12 and line 2 is size 8). Apparently I need to take into account the upper
line's descender value and lower line's ascender, but I am wondering if there is
an exact formula I could use.
Thanks in advance.
