ALT Linux Community general discussions
 help / color / mirror / Atom feed
From: stas <stasv@atnet.ru>
To: community@altlinux.ru
Subject: Re: [Comm] FOP и русские буквы
Date: Mon, 16 Dec 2002 22:21:54 +0300
Message-ID: <200212162221.54336.stasv@atnet.ru> (raw)
In-Reply-To: <20021213195617.0D0842B51E@mail.ru.echo.fr>

> > При обработке файла ругается:
> > [ERROR] invalid byte 2 of 3-byte UTF-8 sequence (0xef)
> > если указать вместо UTF-8 кодировку WINDOWS-1251,
>
> А какая кодировка там на самом деле?
Кодировка cp1251

Причем при попытке просмотреть документ в xpdf в терминале появляется 
сообщение:
Error: Unknown Type 0 character set: Adobe-UCS

Из прочитанного я понял, что лучше иметь просто скопированные из windows 
шрифты, а не те ttf, что установлены с пом. шрифтового сервера.
(хотя я не знаю, какая разница). таких у меня нет.

Может быть, не подходят скачанные с сайта по fop метрики?
Я попытался сгенерировать их сам, но получается вот что:

[stas@localhost fop-0.20.4]$ /usr/lib/jre1.3.1/bin/java -cp 
/home/stas/fop-0.20.4/build/fop.jar:/home/stas/fop-0.20.4/lib/batik.jar:/home/stas/fop-0.20.4/lib/xalan-2.3.1.jar:/home/stas/fop-0.20.4/lib/xercesImpl-2.0.1.jar 
org.apache.fop.fonts.apps.PFMReader /usr/X11R6/lib/X11/fonts/msttf/Arial.TTF 
arial.xml
PFM Reader v1.1

Reading /usr/X11R6/lib/X11/fonts/msttf/Arial.TTF...

Exception in thread "main" java.lang.OutOfMemoryError
        <<no stack trace available>>

Это что я неправильно делаю?

p.s. Большое спасибо за посказку с \parskip (месяца полтора назад). Книжка 
получилась неплохо.

Стас


  reply	other threads:[~2002-12-16 19:21 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-12-12 19:32 stas
2002-12-13 19:57 ` Anton V. Boyarshinov
2002-12-16 19:21   ` stas [this message]
2002-12-17  7:55     ` Anton V. Boyarshinov

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=200212162221.54336.stasv@atnet.ru \
    --to=stasv@atnet.ru \
    --cc=community@altlinux.ru \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link

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