[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Groff] Re: Composed glyphs - quick and dirty solution

From: Werner LEMBERG
Subject: Re: [Groff] Re: Composed glyphs - quick and dirty solution
Date: Mon, 06 Mar 2006 08:21:42 +0100 (CET)

> > Again, I've no idea :-) The code snippet was taken from ps.tmac,
> > without analyzing it in detail.  I've simply forgotten how it
> > works.
> The answer here is (or should be) that if you place an accent over a
> "skew" character (e.g. italic), you need to offset it slightly to
> the right so that it is above the top side of the glyph and not the
> horizontal mid-point (which is what would happen without taking
> account of skew). So you need the skew of the "under" glyph to
> compute this; and the skew of the "over" glyph is (in most cases)
> not relevant.

Thanks -- I was aware of this fact.  With `forgotten' I've meant just
the details of the macro, not how skewing in general works.

Maybe proper accent macros can be based on `acc*over-def' and friends
from s.tmac.  They could be moved into a separate macro file and
adapted for general use.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]