Article View: comp.text
Article #3043Re: using foreign languages in troff
From: Chris Lewis
Date: Sat, 23 Jan 1993 05:45
Date: Sat, 23 Jan 1993 05:45
27 lines
1861 bytes
1861 bytes
In article <C19wp9.3Fz@ccu.umanitoba.ca> umwan010@ccu.umanitoba.ca (Nga T A Wan) writes: > > I want to use oriental languages in troff but I don't want to reinvent >the wheel. Rather, I want to ask if there is any way I can control standard >C/A/T troff or device independent troff to use my character set, specifically mycharacter set is going to be multibyte. I guess it requires at least some >knowledge in troff font format. I presume that you're thinking of handling a 16 bit input characters with troff. It's not possible with any existing version of troff because they're all 8-bit (indeed, most are 7 bit). That being said, you can introduce a lot more if you're willing to use \(xx sequences. C/A/T troff can only be made to extend its character set thru the use of psroff 3.0 (Transcript won't). However, it's not likely to be reliable enough for any serious use. Troff doesn't know about fonts directly. It has font metrics files, and the troff-to-whatever-printer filter *may* have to deal directly with fonts rather than simply asking the printer for them. The width table format is relatively simple. Consult the width tables that come with your troff. Though, if you have C/A/T troff, you'll need psroff3.0's width table handling. -- Chris Lewis; clewis@ferret.ocunix.on.ca; Phone: Canada 613 832-0541 Psroff 3.0 info: psroff-request@ferret.ocunix.on.ca Ferret list: ferret-request@ferret.ocunix.on.ca
Technical Details
Message-ID:
<4164@ecicrl.ocunix.on.ca>Path:
arc1-ca.pugleaf.net!sparky!uunet!uunet.ca!ecicrl!clewisReferences:
<C19wp9.3Fz@ccu.umanitoba.ca>Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!sparky!uunet!uunet.ca!ecicrl!clewis From: clewis@ferret.ocunix.on.ca (Chris Lewis) Newsgroups: comp.text Subject: Re: using foreign languages in troff Keywords: troff, multibyte character sets, font format Message-ID: <4164@ecicrl.ocunix.on.ca> Date: 23 Jan 93 05:45:54 GMT References: <C19wp9.3Fz@ccu.umanitoba.ca> Organization: Elegant Communications Inc., Ottawa, Canada Lines: 27