Am 24.11.2010 um 23:59 schrieb Takayuki YATO (ZR):
Strangely enough, when I typeset the same document by usual
one-step way, it is converted without error. Why is there
such difference?
Still no explanation... but: I used DTrace to dtruss xdvipdfmx'
behaviour. It obviously finds the font file without error (filtered
lines):
getattrlist("/.vol/234881030/9453878/Inconsolata.otf\0", 0xBFFFDF20,
0xBFFFDBB0) = 0 0
getattrlist("/usr/local/texlive/2009/texmf-dist/fonts/opentype/public/
inconsolata/Inconsolata.otf\0", 0xBFFFD380, 0xBFFFD010) = 0 0
getattrlist("/usr/local/texlive/2009/texmf-dist/fonts/opentype/public/
inconsolata/Inconsolata.otf\0", 0xBFFFD390, 0xBFFFD020) = 0 0
open("/.vol/234881030/9453878/Inconsolata.otf\0", 0x0, 0x1B6)
= 5 0
open("/.vol/234881030/9453878/Inconsolata.otf/..namedfork/rsrc\0",
0x0, 0x1B6) = 5 0
open_nocancel("/usr/local/texlive/2009/texmf-dist/fonts/opentype/
public/inconsolata/Inconsolata.otf\0", 0x20000, 0x10) = 5 0
and manages to access the file and its contents (unfiltered excerpt):
open("/.vol/234881030/9453878/Inconsolata.otf\0", 0x0, 0x1B6)
= 5 0
pread(0x5, "OTTO\0", 0x24, 0x0) = 36 0
close(0x5) = 0 0
getattrlist("/.vol/234881030/9453879\0", 0xBFFFD660, 0xBFFFD2E0) =
0 0
open("/.vol/234881030/9453878/Inconsolata.otf/..namedfork/rsrc\0",
0x0, 0x1B6) = 5 0
fstat(0x5, 0xBFFFD568, 0x1B6) = 0 0
close(0x5) = 0 0
open_nocancel("/usr/local/texlive/2009/texmf-dist/fonts/opentype/
public/inconsolata/Inconsolata.otf\0", 0x20000, 0x10) = 5 0
fcntl_nocancel(0x5, 0x2, 0x1) = 0 0
fstat(0x5, 0xBFFFEAA0, 0x1) = 0 0
mmap(0x0, 0xE460, 0x1, 0x2, 0x5, 0xFEEDFACEDEAFBEAD) =
0x7A9000 0
close_nocancel(0x5) = 0 0
and continues to search in 70 other places for the font file like here
(unfiltered excerpt):
access("/System/Library/Frameworks/JavaVM.framework/Versions/1.6.0/
Home/lib/fonts/Inconsolata/H/65536/0/0.pfa\0", 0x4, 0x6) = -1 Err#2
access("/System/Library/Frameworks/JavaVM.framework/Versions/1.6.0/
Home/lib/fonts/Inconsolata/H/65536/0/0.pfb\0", 0x4, 0x33310000) = -1
Err#2
access("/System/Library/Frameworks/JavaVM.framework/Versions/1.6.0/
Home/lib/fonts/Inconsolata/H/65536/0/0\0", 0x4, 0x17980000) = -1 Err#2
These 70 other places come from my configuration for libfontconfig. It
still has TL '09 because TL '10 is still the test distribution. When I
run
xetex -output-driver='sudo dtruss -cefl xdvipdfmx -vv' <file>
xdvipdfmx searches in more than twice as many places although the font
file was found before – and then it suceeds to create the PDF file!
Mac OS X 10.5.8 PPC
--
Greetings
Pete
No project was ever completed on time and within budget.
– Cheops Law
--------------------------------------------------
Subscriptions, Archive, and List information, etc.:
http://tug.org/mailman/listinfo/xetex