[Top][All Lists]

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

Re: [Groff] ubuntu, groff and utf-8

From: Michail Vidiassov
Subject: Re: [Groff] ubuntu, groff and utf-8
Date: Wed, 16 Mar 2005 09:08:25 +0300 (MSK)

Dear Werner,

On Mon, 14 Mar 2005, you wrote:

> > > I want a library of artificial
> > > characters which combines base characters and accents to composite
> > > characters, [...]
> >
> > Such substuitution, if done properly, has to be font-dependent and
> > resorted to only if the font lacks precomposed characters.
> Right.  This is what the `.fchar' request does, contrary to `.char'
> which always overwrites the font's definition.
> >                AFM files can have a section describing the
> > construction of composites.  Can groff use that information?
> No.  It shouldn't be too difficult to write a script which transforms
> such information into proper .fschar commands.

if you write such a script you will be able to create a set of .fschar
substitutions for base PS fonts from pseudo-afm files of ogokify project.
The files contain composition information in the form
CC Acircumflex 2 ; PCC A 0 0 ; PCC circumflex 0 130 ;
The files can  be found as *-c.afm in oginkify subdir of a2ps program.
Some more compositions (patches to the above):

If you are looking for rules to make substitution in any font (.fchar) -
you may look at
                             Sincerely, Michail

reply via email to

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