[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Groff] typesetting Czech with custom fonts
From: |
Petr Man |
Subject: |
[Groff] typesetting Czech with custom fonts |
Date: |
Wed, 28 Mar 2012 12:53:29 +0200 |
Hello,
I am having trouble typesetting Czech. This is the first time I
actually tried a language with extensive punctuation.
I have a set of Gill Sans CE that contains the proper glyphs. I have
converted these to groff fonts as described in the mom docs.
However I still end up with errors and mangled text.
My typical command line looks like this:
pdfroff -M. -F. -Tps -p -t -e -g -R -s -k -Dutf8 -mmymom -mpdfmark
--report-progress --no-toc-relocation -dpaper=a4 -P-pa4
--pdf-output=rng.pdf rng.mom
Resolving references ... done
Formatting document ... body section ..rng.mom:156: a special
character is invalid within \X
rng.mom:156: a special character is invalid within \X
rng.mom:156: a special character is invalid within \X
rng.mom:156: a special character is invalid within \X
rng.mom:156: a special character is invalid within \X
rng.mom:207: a special character is invalid within \X
rng.mom:227: a special character is invalid within \X
rng.mom:227: a special character is invalid within \X
rng.mom:230: a special character is invalid within \X
rng.mom:230: a special character is invalid within \X
rng.mom:230: a special character is invalid within \X
rng.mom:230: a special character is invalid within \X
rng.mom:230: a special character is invalid within \X
rng.mom:230: a special character is invalid within \X
rng.mom:230: a special character is invalid within \X
rng.mom:230: a special character is invalid within \X
rng.mom:230: a special character is invalid within \X
rng.mom:230: a special character is invalid within \X
. done
Writing PDF output ... done
I have also tried following:
cat rng.mom | iconv '-futf8' '-tlatin2' | groff -M. -F. -Tps -p -t -e
-g -R -s -mmymom > test.ps
stdin:161: can't translate character code 218 to special character
`'U' in transparent throughput
stdin:217: can't translate character code 225 to special character
`'a' in transparent throughput
stdin:217: can't translate character code 236 to special character
``i' in transparent throughput
But that still ends up in missing letters like the previous try
(specifically čřž etc.). This happens also with default groff fonts
(no glyphs?).
http://www.mail-archive.com/address@hidden/msg05273.html would probably
solve this for URW fonts (haven't tried yet, I want Gill Sans).
My question is whether this is caused by incorrect font conversion or
if the problem lies somewhere else.
I would be very grateful for any hints.
Petr
- [Groff] typesetting Czech with custom fonts,
Petr Man <=
- Re: [Groff] typesetting Czech with custom fonts, Werner LEMBERG, 2012/03/28
- Re: [Groff] typesetting Czech with custom fonts, Keith Marshall, 2012/03/28
- Re: [Groff] typesetting Czech with custom fonts, Petr Man, 2012/03/28
- Re: [Groff] typesetting Czech with custom fonts, Deri James, 2012/03/28
- Re: [Groff] typesetting Czech with custom fonts, Petr Man, 2012/03/28
- Re: [Groff] typesetting Czech with custom fonts, Werner LEMBERG, 2012/03/28
- Re: [Groff] typesetting Czech with custom fonts, Werner LEMBERG, 2012/03/28
- Re: [Groff] typesetting Czech with custom fonts, Petr Man, 2012/03/28
- Re: [Groff] typesetting Czech with custom fonts, Werner LEMBERG, 2012/03/29
- Re: [Groff] typesetting Czech with custom fonts, Peter Schaffter, 2012/03/29