> > 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.


    Werner


_______________________________________________
Groff mailing list
Groff@gnu.org
http://lists.gnu.org/mailman/listinfo/groff

Reply via email to