groff
[Top][All Lists]
Advanced

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

Re: [Groff] Still No Luck Accessing Characters From Zapf Dingbats (Or An


From: Ralph Corderoy
Subject: Re: [Groff] Still No Luck Accessing Characters From Zapf Dingbats (Or Any Other Strange Font)
Date: Sat, 07 May 2016 11:18:08 +0100

Hi Henry,

> > When I inject that sequence, I get the British Standard Rectangular
> > Lozenge which is groff’s way of telling me that the glyph I want
> > doesn’t exist.
>
> This is the right sequence – however, your example uses Unicode quotes
> (U+2019) as delimiters.

That might just be some "smart quoting" on the part of your MUA.

Here's what I get.

    $ cat ding.tr
    ,\f(ZD\N'37'\fP,
    $
    $ groff ding.tr | sed 1,/%%EndPageSetup/d
    /F0 10/address@hidden SF(,)72 12 Q/F1 10/ZapfDingbats SF(%)A F0(,)A 0 Cg
    EP
    %%Trailer
    end
    %%EOF
    $

That shows PostScript's Times-Roman being used for the commas as F0, and
ZapfDingbats for the `%', ASCII 37, as F1.  Breaking it down more,

    /F0 10 /address@hidden SF
    (,) 72 12 Q
    /F1 10 /ZapfDingbats SF
    (%) A
    F0
    (,) A

Redirecting the output to a file, and viewing it with `gs ding.ps' shows
a phone.

Cheers, Ralph.



reply via email to

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