Sorry for the delayed reply.

MK> A2ps [...] come to mind as important examples used at this
MK> place.

Markus,

I know you are aware of Cedilla, which does print UTF-8 plain text on
any PS printer for simple scripts (Latin (including Vietnamese),
Cyrillic, Greek (including polytonic)).  Other people may want to check

  http://www.pps.jussieu.fr/~jch/software/cedilla/

Cedilla is a plain text printer, full stop.  It doesn't even do page
numbering.

A2ps and Cedilla are based on very different ideas.  A2ps evolved from
an ASCII-only typesetter, and therefore assumes that input characters
and glyphs as seen by the PS interpreter are the same.  Most of the
text manipulation features in a2ps are implemented in PS code.
Cedilla, on the other hand, treats the printer as a dumb typesetter.
It computes a mapping from characters to arbitrary combinations of
glyphs in the host, and then sends (a peephole optimisation of) the
resulting stream to the printer.  You may want to think of Cedilla as
being similar in spirit to Keith's Xft library for XFree86.

For these reasons, Cedilla and a2ps would be tricky to unify, and I've
been wondering what features of a2ps there are that people actually
need before they can switch to Cedilla.  The following features I
could be coerced into implementing, but only if people actually need
them:

  - support for page headers/footers (including page numbering);
  - support for n-up printing;
  - support for drawing frames around the output, in case you cannot
    find it on the page;
  - support for prettyfication using a2ps' style sheets.

Please note that I only check linux-utf8 on Tuesdays when they happen
on a tenth of December, so please CC me with any replies.

                                        Juliusz
--
Linux-UTF8:   i18n of Linux on all levels
Archive:      http://mail.nl.linux.org/linux-utf8/

Reply via email to