[cl-typesetting-devel] *use-exact-char-boxes*

Marc Battyani marc.battyani at fractalconcept.com
Mon May 15 15:07:42 UTC 2006


"Dmitriy Ivanov" <divanov at aha.ru> wrote:

> "Marc Battyani" <marc.battyani at fractalconcept.com> wrote:
> 
> |> What is the difference from the previous one?
> | 
> | Lines with small characters like "aaa.." don't have the same spacing as
> | the lines with "Ap..." and this is not good for normal text.
> 
> I see. And it is unlikely easy to improve :-(.

Improve? Well it is designed for that so it is ok IMO ;-)

In fact, the only bug is the character descent missing in the first table.

In make-char-box:
:dy *leading* :baseline *font-size* 
should be replaced by something like:
:dy *leading* :baseline (- *font-size* *descender*)
With *descender* being the maximum descender for the font. 
Or better by adddding *base-line*:
:dy *leading* :baseline *base-line*

I will look at this when I find some time (so probably not this week)

Marc





More information about the cl-typesetting-devel mailing list