[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: Tue, 15 Mar 2005 00:10:47 +0300 (MSK)

Dear Alejandro and All:

as far as I understand, the situation with character composition
in groff is as follows

1) General case
 Opentype fonts may have character composition information,
  but it is hard to get out of the font.
 PS fonts used to have composition information, but it
  is of no use to groff, since it just described the precomposed
  accented glyphs, that can  be accessed by font reencoding.
 It is hard to make groff use the compositiion information from the font
  (requires a lot of coding or even redesign).
 There are few uses for composed characters, since most
  of the characters groff users need can be found precomposed
  in commercial or free fonts (*roff is not likely to be used to
  make a hebrew - russian dictionary with transcriptions nowdays).

 Result - no demand and the costs are high => do not do it.

2) Some fallback to print some more accented characters with
 base PS fonts - what Werner originaly liked to have.

 We are not the first to try to add more accents to base PS fonts
 (but, may be, we are the last).

 Solutions existed, such as:
 1) Instructions for adding additional characters to pfa files and
  describing them in AFM files.
 2) Tables of composition instructions for some of the base fonts +
   tools to make patched versions of those fonts.
 3) Automated tools, adding accented glyphs to any font
   (but in an ugly way, since only bounding boxes of glyphs are
    analysed in the best case).

  Since the tables from 2 were just (abused) composition sections of
  AFM files (CC lines), it may be easy to transform their contents
  into roff positioning commands (code for .fschar, what Werner wants)
  or a library of PostScript procedures.

3) Metrics for some decent PostScript or TrueType fonts are to
  be included in groff distribution.
  And, BTW, Carthago delenda est ;)
                           Sincerely, Michail
 Adding Composite Characters to Type 1 Fonts

  Home page:
  Now part of:
  Some additional accents:

  Computes composite character shift information for any font
  and adds it to AFM file
  ( for later processing with afm2tfm  for use in TeX.
   afm2tfm reads and uses information from CC lines.)
  Some kind of Unicode PostScript printer
  (no comments, since I can not read Lisp)

reply via email to

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