groff
[Top][All Lists]
Advanced

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

Re: [Groff] character u21D5 is not available in groff


From: Tadziu Hoffmann
Subject: Re: [Groff] character u21D5 is not available in groff
Date: Fri, 30 May 2014 16:42:26 +0200
User-agent: Mutt/1.5.21 (2010-09-15)

> "Approximate" in a somewhat ugly sense! To do it properly you
> need to play with vertical positions

I hoped that was self-evident... :-)

> (and possibly slightly with horizontal positions).
>
> .char \[udA] \Z'\[uA]'\v'0.250m'\h'-0.005m'\[dA]\v'-0.250m'
>
> [...] (presumably because the ghostscript and the Adobe fonts
> differ subtly).

Unfortunately, the Adobe Symbol font (even in version 1.008)
also shows the horizontal misalignment (meaning they haven't
fixed this bug in 20 years).

The "step" you can sometimes see in the overprinted legs
due to different pixel alignment at different resolutions
can be hidden by shifting the characters closer together,
so that the ends of the legs come to lie in the diagonal
parts of the other arrowhead.  Here's my solution:

.char \[vA] \v'-.06m'\Z'\[uA]'\v'.12m'\h'-.005m'\[dA]\v'-.06m'

which uses a slightly different (symmetric) vertical shift
(but the "correct" choice will of course depend on what
purpose you ultimately use the glyph for).





reply via email to

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