Problemy s PS2PDF a xpdf

Radim Gelner gelnerr at suse.cz
Mon Jan 29 15:38:44 CET 2001


On Mon, Jan 29, 2001 at 03:13:18PM +0100, Martin Bruchanov wrote:
> Takze, kde je chyba? Delam neco spatne ja nebo mam zahodit xpdf
> a naistalovat Acrobat Reader pro Linux? Nerad bych uzivateli
> stazivsimu si dokument z www privodil nemile prekvapeni :)

Problem bude asi v truetypovych fontech, ve kterych jste dokument
poridil. Zalezi mj. na tom, jestli je pri tisku ovladac tiskarny
substituuje vestavenymi fonty, nebo jestli je do postskriptu vklada
jako binarni blok. V druhem pripade urcite budou problemy s Unicode
Truetypy.

Obecne budete pri vytvareni PDF souboru timto zpusobem vzdy prekvapen,
jak se vas dokument chova v ruznych prohlizecich na ruznych
platformach.

Doporucuji porizovat PDF jinym zpusobem (PDFTeX), protoze ani Acrobat
Distiller pro Windows neni casto schopen vytvorit PDF, ktere se da
prohlizet napr. v Linuxu.

> A jeste jeden dotazecek, kde zjistit zda jsou v PS souboru
> pridany fonty nebo nikoliv, treba je to misto nejak %%oznacene :)

Napr.

%%BeginResource: font NimbusRomNo9LEE-Regu
%!PS-AdobeFont-1.0: NimbusRomNo9LEE-Regu 1.05
%%CreationDate: Fri Aug 4 2000
% Copyright (URW)++,Copyright 1999 by (URW)++ Design & Development
% (URW)++,Copyright 1999 by (URW)++ Design & Development
12 dict begin
/FontInfo 10 dict dup begin
/version (1.05) readonly def
/Notice ((URW)++,Copyright 1999 by (URW)++ Design & Development)
readonly def
/Copyright (Copyright (URW)++,Copyright 1999 by (URW)++ Design &
Development) readonly def
/FullName (Nimbus Roman No9 L EE Regular) readonly def
/FamilyName (Nimbus Roman No9 L EE) readonly def
/Weight (Regular) readonly def
/ItalicAngle 0.0 def
/isFixedPitch false def
/UnderlinePosition -100 def
/UnderlineThickness 50 def
end readonly def
/FontName /NimbusRomNo9LEE-Regu def
/PaintType 0 def
/WMode 0 def
/FontBBox {-70 -281 932 923} readonly def
/FontType 1 def
/FontMatrix [0.001 0.0 0.0 0.001 0.0 0.0] readonly def
/Encoding 256 array.
0 1 255 {1 index exch /.notdef put} for.
dup 32 /space put
dup 33 /exclam put
dup 34 /quotedbl put
dup 35 /numbersign put
.
.
.
%%EndResource
/NimbusRomNo9LEE-Regu ff [12.0 0 0 -12.0 0 0] mf sf

--
S pozdravem,


Radim Gelner
Product Manager
---------------------------------------------------------------------
SuSE CR, s.r.o.                               e-mail: gelnerr at suse.cz
Pod Pekarnami 338/12                          tel:+420 2 6603 2619
190 00 Prague 9 - Vysocany                    fax:+420 2 6603 2620
Czech Republic                                http://www.suse.cz



More information about the csTeX mailing list