groff
[Top][All Lists]
Advanced

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

Re: [Groff] Misplaced glyphs


From: Ali Gholami Rudi
Subject: Re: [Groff] Misplaced glyphs
Date: Sun, 26 Feb 2012 23:05:05 +0330
User-agent: git://repo.or.cz/mailx.git

Werner LEMBERG <address@hidden> wrote:
> > But what about \(rn and \(br?  The glyphs don't fit well but in
> > groff they do.  See the table and text box in my previous mail to
> > see how the original troff renders it.  How does groff do it?
> 
> In groff, \[ul], \[rn], and \[br] are not real characters.  Instead,
> they are defined with drawing requests.  From ps.tmac (dvi.tmac and
> the other driver macro files contain very similar code):
> 
>   .\" This is designed so that \(ul, \(rn and \(br form corners.
>   .char \[ul] \v'.25m'\D'l .5m 0'\v'-.25m'
>   .char \[br] \Z'\v'.25m'\D'l 0 -1m''
>   .char \[rn] \v'-.75m'\D'l .5m 0'\v'.75m'

I see.  Then probably the closest solution in the original troff is
using charlib characters, as it does not support .char macro.  Anyway,
thanks for the helpful answer.

        Ali




reply via email to

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