Thanks for this! I will try it out and report back. ldb <[email protected]> wrote:
> (Previous reply did not land on the list so this is a repost.) > > In plan9 troff I'm getting an upside-down exclamation point. > > Any idea why? How can I get \(sq to give me a square? > > > Viewing the PostScript produced by tr2post, turns out it uses the font > LucidaSansUnicode25 to render the square, which means you need to have > these fonts installed to $PLAN9/postscript/font and then call "psfonts" > programs to embed the PostScript font. > > The "NOTICE" file at $PLAN9/postscript/font says: > > > This directory is intended to contain the same files > > as in /sys/lib/postscript/font in a Plan 9 distribution, > > including the Lucida Sans Unicode font from B&H. > > The terms of the font license in Plan 9 do not permit > > us to distribute those files here. > > > > As a substitute for the Lucida Sans fonts, > > Plan 9 from User Space provides Luxi Sans, > > also by B&H but available under a more liberal > > license, and Deja Vu, a Unicode extension of the > > Bitstream Vera family of fonts. > > > > Luxi Sans is similar to Lucida Sans except that > > it has no Unicode support. Deja Vu does have > > good Unicode support. > > So you'll need to find the distribution of Plan9 which has following files > LucidaSans-Demi > LucidaSans-Italic > LucidaSans-Typewriter83 > LucidaTypewriter > NOTICE > ams > cm > fontmap > lino > lsunr00.pfa > lsunr01.pfa > lsunr02.pfa > lsunr03.pfa > lsunr04.pfa > lsunr05.pfa > lsunr20.pfa > lsunr21.pfa > lsunr22.pfa > lsunr24.pfa > lsunr25.pfa > lw+ > > You will need to *append *the fontmap file to $PLAN9/postscript/font/fontmap > and copy the files `Lucida*` and `*.pfa`, and optionally `cm` and `ams`. > > Then `9 tr2post file.dpost | 9 psfonts > file.ps` would render the symbols > properly. > > You can also use `dpost` from heirloom-doctools to render the troff output to > PostScript, saves the procedure to manually install the fonts. ------------------------------------------ 9fans: 9fans Permalink: https://9fans.topicbox.com/groups/9fans/T87428730dcc006b0-Mf1fa9c710ef9c14a3939e66a Delivery options: https://9fans.topicbox.com/groups/9fans/subscription
