* Re: [Comm] groff -Tdvi -mandoc
2002-09-20 13:53 ` Alexander Bokovoy
@ 2002-09-24 14:08 ` Sergey Vlasov
0 siblings, 0 replies; 3+ messages in thread
From: Sergey Vlasov @ 2002-09-24 14:08 UTC (permalink / raw)
To: community
[-- Attachment #1: Type: text/plain, Size: 2302 bytes --]
On Fri, 20 Sep 2002 16:53:22 +0300
Alexander Bokovoy <a.bokovoy@sam-solutions.net> wrote:
> On Fri, Sep 20, 2002 at 05:21:02PM +0400, Denis Kirienko wrote:
> > Добрый день!
> >
> > Во вложении - dvi-файл, полученный из man-страницы при помощи
> > groff -Tdvi -mandoc
> > Если его прогнать через dvips, то ни одной буквы в
> > полученном ps не будет. В чем проблема - каких шрифтов не хватает?
Буквы-то там есть, только мааааааленькие...
> > Кажется, это происходит на всех man-страницах.
> Это проблема groff, старая и известная. Сейчас не найду, но пару месяцев
> назад Виктор Вагнер в fido7.ru.linux, по-моему, делился мыслями по поводу
> исправления.
Скореее это все-таки проблема dvips, не умеющего обрабатывать dvi с
нестандартными (не такими, которые пишет TeX) параметрами заголовка.
dvipdfm, например, все понимает.
Вот начало вывода dvitype для обычного dvi, сгенерированного LaTeX:
This is DVItype, Version 3.6 (Web2C 7.3.1)
Options selected:
Starting page = *
Maximum number of pages = 1000000
Output level = 4 (the works)
Resolution = 300.00000000 pixels per inch
numerator/denominator=25400000/473628672
magnification=1000; 0.00006334 pixels per DVI unit
' TeX output 2002.09.24:1315'
Postamble starts at byte 161.
maxv=41484288, maxh=26673152, maxstackdepth=3, totalpages=1
Font 7: cmr10---loaded at size 655360 DVI units
А вот аналогичная информация для прилагавшегося файла:
This is DVItype, Version 3.6 (Web2C 7.3.1)
Options selected:
Starting page = *
Maximum number of pages = 1000000
Output level = 4 (the works)
Resolution = 300.00000000 pixels per inch
numerator/denominator=254000/57816
magnification=1000; 0.00518888 pixels per DVI unit
''
Postamble starts at byte 598.
maxv=616704, maxh=433620, maxstackdepth=1, totalpages=1
Font 0: cmr10---loaded at size 8000 DVI units
Font 1: cmbx10 scaled 1095---loaded at size 8760 DVI units
(this font is magnified 110%)
Font 2: cmsy10---loaded at size 8000 DVI units
Font 3: cmbx10---loaded at size 8000 DVI units
Font 4: cmti10---loaded at size 8000 DVI units
Как видно, grodvi использует другой размер DVI unit
(numerator/denominator), а в dvips, видимо, намертво забиты TeX-овские
значения. Причем позиции символов, похоже, считаются правильно, а вот с
размерами шрифтов проблема.
[-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --]
^ permalink raw reply [flat|nested] 3+ messages in thread