On 12-Nov-09 23:44:11, Werner LEMBERG wrote: > >> I cannot get all polish special characters in postscript output. >> The command I invoke is "groff -k -mom -Tps test.mom >test.ps". >> I can see in the resulting ps file only the characters Ä, ó, >> Å - missing are Ä , ż, Å, ź, Ä, Å. > > I suspect that you don't have PostScript fonts which support those > glyphs. For example, there is no `eogonek' in the TR font. > > Werner
It can be done -- there is indeed an ogonek in the standard PostScript fonts. According to the classical PostScript Reference Manual, it is at position 236 [oc\tal] in the ISOLatin1 ecncoding. However, in groff's .../devps/TR file, it is listed at position 0230 (so there seems to have some change here), and it has groff name \[ho]. There is also an l-slash listed at position 0234, groff name \[l/], which again in the PostScript Reference Manual is given at position 370 [octal]. Apart from the l-slash, all the others can be built as composite glyphs using accent-definitions. As an example, in the ms-macros you can find (under .\" Accents) the following: .de acc*over-def .ds \\$1 \Z'\v'(u;\w'x'*0+\En[rst]-\En[.cht])'\ \h'(u;-\En[skw]+(-\En[.w]-\w'\\$2'/2)+\En[.csk])'\\$2' .. .de acc*under-def .ds \\$1 \Z'\v'\En[.cdp]u'\h'(u;-\En[.w]-\w'\\$2'/2)'\\$2' .. and then you can define .acc*over-def ' \' .acc*over-def dot \[a.] .char \[ogon] \h'0.5m'\[ho] .acc*under-def og \[ogon] .char \[A,] A\*[og] .char \[N'] N\*' .char \[Z.] Z\*[dot] Now look at the results of the following: \[A,]\0\0\[N']\0\0\[Z.] These are only examples. I will post the full details later (probably not today, since I am short of time right now). But the above may serve as templates for you to work it out for yourself! Hoping this helps, Ted. -------------------------------------------------------------------- E-Mail: (Ted Harding) <[email protected]> Fax-to-email: +44 (0)870 094 0861 Date: 13-Nov-09 Time: 12:18:55 ------------------------------ XFMail ------------------------------
