ALT Linux Community general discussions
 help / color / mirror / Atom feed
* [Comm] groff -Tdvi -mandoc
@ 2002-09-20 13:21 Denis Kirienko
  2002-09-20 13:53 ` Alexander Bokovoy
  0 siblings, 1 reply; 3+ messages in thread
From: Denis Kirienko @ 2002-09-20 13:21 UTC (permalink / raw)
  To: community

[-- Attachment #1: Type: TEXT/PLAIN, Size: 321 bytes --]

Добрый день!

Во вложении - dvi-файл, полученный из man-страницы при помощи
groff -Tdvi -mandoc
Если его прогнать через dvips, то ни одной буквы в
полученном ps  не будет. В чем проблема - каких шрифтов не хватает?
Кажется, это  происходит на всех man-страницах.

                                        Денис


[-- Attachment #2: Type: APPLICATION/x-bzip2, Size: 541 bytes --]

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [Comm] groff -Tdvi -mandoc
  2002-09-20 13:21 [Comm] groff -Tdvi -mandoc Denis Kirienko
@ 2002-09-20 13:53 ` Alexander Bokovoy
  2002-09-24 14:08   ` Sergey Vlasov
  0 siblings, 1 reply; 3+ messages in thread
From: Alexander Bokovoy @ 2002-09-20 13:53 UTC (permalink / raw)
  To: community

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, по-моему, делился мыслями по поводу
исправления.


-- 
/ Alexander Bokovoy
---
"Just the facts, Ma'am"
-- Joe Friday


^ permalink raw reply	[flat|nested] 3+ messages in thread

* 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

end of thread, other threads:[~2002-09-24 14:08 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-09-20 13:21 [Comm] groff -Tdvi -mandoc Denis Kirienko
2002-09-20 13:53 ` Alexander Bokovoy
2002-09-24 14:08   ` Sergey Vlasov

ALT Linux Community general discussions

This inbox may be cloned and mirrored by anyone:

	git clone --mirror http://lore.altlinux.org/community/0 community/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 community community/ http://lore.altlinux.org/community \
		mandrake-russian@linuxteam.iplabs.ru community@lists.altlinux.org community@lists.altlinux.ru community@lists.altlinux.com
	public-inbox-index community

Example config snippet for mirrors.
Newsgroup available over NNTP:
	nntp://lore.altlinux.org/org.altlinux.lists.community


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git