[OS X TeX] Mysterious behavior of Preview.app

Axel E. Retif axel.retif at mac.com
Thu May 15 11:37:41 CEST 2008


On  15 May, 2008, at 04:12, Bruno Voisin wrote:

> Le 15 mai 08 à 10:44, Jin-Hwan Cho a écrit :
>
>> Actually I'd like to know why Preview.app does not show nfssfont- 
>> new-w-cidmap.pdf  correctly
>> but Adobe Reader do show correctly.
>
> I would think one of the many bugs of PDFKit, the Cocoa framework  
> (if that is indeed the correct term) used to display PDF files on  
> OS X (by Preview, Mail, Safari, TeXShop, Finder, etc.) except by  
> Adobe applications (which include their own PDF rendering  
> routines). I imagine xpdf would display the file correctly as well.
>
> Apparently PDFKit was reengineered considerably between Tiger and  
> Leopard (it was moved completely out of CoreGraphics), that might  
> play a role here.

No, because I'm using Tiger (10.4.11), and your nfssfont-new-w- 
cidmap.pdf renders wrong in Preview and TeXShop, but right in Reader  
8 and Acrobat 6.

On the other hand, I said I wasn't going to report the test with the  
new dvipdfmx-20080515-i386-darwin, but I will because it doesn't run  
on Tiger (I put it in my ~/bin directory, which, as you will see,  
takes precedence):

dvipdfmx nfssfont
dyld: Library not loaded: /usr/X11/lib/libpng12.0.dylib
   Referenced from: /Users/axretif/bin/dvipdfmx
   Reason: image not found
Trace/BPT trap

The reason is that in Tiger there is no /usr/X11/ but /usr/X11R6/,  
and even in /usr/X11R6/lib/ there is no libpng12.0.dylib

Best,

Axel




More information about the macostex-archives mailing list