[XeTeX] Display quality of fonts

Peter Dyballa Peter_Dyballa at Web.DE
Thu Oct 26 12:50:05 CEST 2006


Am 26.10.2006 um 10:39 schrieb Christoph Bier:

> Furthermore xpdf doesn't show every character used in e.g.  
> fontspec.pdf [3].

Did you compile fontspec.pdf yourself? (Probably not, because of the  
fonts used ...)

On Mac OS X xpdf 3.01 does a better a job. Adobe Reader 7.08 has the  
same problem with page 9 here on Mac OS X.


I wonder why xpdf writes into Terminal (as does pdffonts):

	Error: Unknown character collection 'Adobe-Japan1'
	Error: Unknown character collection 'Adobe-GB1'

In my opinion this file, produced on the Mac with Apple's Quartz  
PDFContext (i.e with XeTeX's xdv2pdf), is faulty – as are probably  
all other fontspec documents produced on Tiger (Mac OS X 10.4.x),  
because when produced on Tiger xpdf and pdffonts report these errors.

When using gv and Ghostscript 8.54 I get:

	**** Warning:  File has an invalid xref entry:  31.  Rebuilding xref  
table.

and page #10 cannot be built/displayed. Page #17 brings this error:

AFPL Ghostscript 8.54: Unrecoverable error, exit code 1
Error: /rangecheck in --string--
Operand stack:
    --dict:5/5(L)--   F53.1   1   --dict:5/5(L)--   --dict:5/5(L)--    
RBRGWZ+HiraMaruPro-W4   --dict:11/12(ro)(G)--   --nostringval--   -- 
dict:7/7(L)--   189122   --dict:7/7(L)--   --dict:5/6(L)--   -- 
nostringval--   --nostringval--   26283   -60360
Execution stack:
    %interp_exit   .runexec2   --nostringval--   --nostringval--   -- 
nostringval--   2   %stopped_push   --nostringval--   -- 
nostringval--   --nostringval--   false   1   %stopped_push   1   3    
%oparray_pop   1   3   %oparray_pop   1   3   %oparray_pop   1   3   % 
oparray_pop   .runexec2   --nostringval--   --nostringval--   -- 
nostringval--   2   %stopped_push   --nostringval--   -- 
nostringval--   --nostringval--   false   1   %stopped_push   -- 
nostringval--   --nostringval--   --nostringval--   %array_continue    
--nostringval--   false   1   %stopped_push   --nostringval--   % 
loop_continue   --nostringval--   --nostringval--   --nostringval--    
--nostringval--   --nostringval--   --nostringval--   % 
array_continue   --nostringval--   --nostringval--   -- 
nostringval--   --nostringval--   --nostringval--   --nostringval--    
%loop_continue   --nostringval--   --nostringval--   -- 
nostringval--   %array_continue   --nostringval--   --nostringval--    
--nostringval--
Dictionary stack:
    --dict:1124/1686(ro)(G)--   --dict:2/20(G)--   --dict:75/200 
(L)--   --dict:105/127(ro)(G)--   --dict:253/347(ro)(G)--   --dict: 
23/24(L)--   --dict:4/6(L)--   --dict:20/20(L)--   --dict:3/5(L)--    
--dict:6/8(L)--   --dict:53/72(ro)(G)--   --dict:18/30(L)--
Current allocation mode is local

For page #21 I get:

    **** Warning:  File has an invalid xref entry:  31.  Rebuilding  
xref table.
Error: /rangecheck in --string--
Operand stack:
    --dict:5/5(L)--   F53.1   1   --dict:5/5(L)--   --dict:5/5(L)--    
RBRGWZ+HiraMaruPro-W4   --dict:11/12(ro)(G)--   --nostringval--   -- 
dict:7/7(L)--   237786   --dict:7/7(L)--   --dict:5/6(L)--   -- 
nostringval--   --nostringval--   26283   -60360
Execution stack:
    %interp_exit   .runexec2   --nostringval--   --nostringval--   -- 
nostringval--   2   %stopped_push   --nostringval--   -- 
nostringval--   --nostringval--   false   1   %stopped_push   1   3    
%oparray_pop   1   3   %oparray_pop   1   3   %oparray_pop   1   3   % 
oparray_pop   .runexec2   --nostringval--   --nostringval--   -- 
nostringval--   2   %stopped_push   --nostringval--   -- 
nostringval--   --nostringval--   --nostringval--   --nostringval--    
%array_continue   --nostringval--   false   1   %stopped_push   -- 
nostringval--   %loop_continue   --nostringval--   --nostringval--    
--nostringval--   --nostringval--   --nostringval--   -- 
nostringval--   %array_continue   --nostringval--   --nostringval--    
--nostringval--   --nostringval--   --nostringval--   -- 
nostringval--   %loop_continue   --nostringval--   --nostringval--    
--nostringval--   %array_continue   --nostringval--   -- 
nostringval--   --nostringval--
Dictionary stack:
    --dict:1124/1686(ro)(G)--   --dict:2/20(G)--   --dict:75/200 
(L)--   --dict:105/127(ro)(G)--   --dict:253/347(ro)(G)--   --dict: 
23/24(L)--   --dict:4/6(L)--   --dict:20/20(L)--   --dict:3/5(L)--    
--dict:6/8(L)--   --dict:53/72(ro)(G)--   --dict:18/30(L)--
Current allocation mode is local
AFPL Ghostscript 8.54: Unrecoverable error, exit code 1

This makes me hope that MS engineers do not copy too many "features"  
from Mac OS X Tiger! (Could also be some font problem with  
HiraMaruPro-W4 ...)


My xpdf 3.01, from 2006-08-16, uses these libraries:

         /sw/lib/libXm.3.dylib (compatibility version 4.0.0, current  
version 4.2.0)
         /sw/lib/libpaper.1.dylib (compatibility version 3.0.0,  
current version 3.2.0)
         /sw/lib/libt1.1.dylib (compatibility version 5.0.0, current  
version 5.1.0)
         /usr/X11R6/lib/libICE.6.dylib (compatibility version 6.3.0,  
current version 6.3.0)
         /usr/X11R6/lib/libSM.6.dylib (compatibility version 6.0.0,  
current version 6.0.0)
         /usr/X11R6/lib/libX11.6.dylib (compatibility version 6.2.0,  
current version 6.2.0)
         /usr/X11R6/lib/libXext.6.dylib (compatibility version 6.4.0,  
current version 6.4.0)
         /usr/X11R6/lib/libXp.6.dylib (compatibility version 6.2.0,  
current version 6.2.0)
         /usr/X11R6/lib/libXpm.4.dylib (compatibility version 4.11.0,  
current version 4.11.0)
         /usr/X11R6/lib/libXt.6.dylib (compatibility version 6.0.0,  
current version 6.0.0)
         /usr/X11R6/lib/libfreetype.6.dylib (compatibility version  
6.3.0, current version 6.3.0)
         /usr/lib/libSystem.B.dylib (compatibility version 1.0.0,  
current version 88.1.6)
         /usr/lib/libgcc_s.1.dylib (compatibility version 1.0.0,  
current version 1.0.0)
         /usr/lib/libstdc++.6.dylib (compatibility version 7.0.0,  
current version 7.4.0)

I always noticed that xpdf gives a bad impression of a PDF document  
(could be the integrated PDF viewers in KDE or Gnome are worse).  
Ghostscript and gv do a better job, and the best one delivers  
TeXShop, allowing me to clip away heads and foots of pages, as if  
sliding over a single line pages lying side by side ... I.e., I never  
have to adjust my view every time or reduce the magnification level  
to see the whole page because the view jumps on every next page back  
to the superfluous top.

I have xpdf only installed because pdfinfo and pdffonts are useful  
tools.

--
Mit friedvollen Grüßen

   Pete

For some reason, this fortune reminds everyone of Marvin Zelkowitz.




More information about the XeTeX mailing list