On Wed, 7 Aug 2013 14:09:53 -0400 Przemek Klosowski <przemek.klosowski@xxxxxxxx> wrote: > On 08/07/2013 01:53 PM, Paul Howarth wrote: > > I'm trying to track down a problem I'm having with ps2pdf in > > Rawhide, whereby it can't find the Times-Italic font. I know very > > little about fonts and in fact I don't even know where (in which > > package, or on the filesystem) this font should live. The Rawhide > > build seems to be pulling in the same font packages as a working > > F-19 build, so I'm at a loss at to why it's going wrong. > > > > Sample failure here: > > > > http://koji.fedoraproject.org/koji/taskinfo?taskID=5791424 > > > > ps2pdf ./op.ps op.pdf > > Error: /invalidfont in /findfont > > Perhaps run ps2pdf under strace and look for failed open() calls: > > strace -e open ps2pdf ./op.ps op.pdf Comparing the working (-) and broken (+) builds, it seems that the broken one isn't checking for Type1 fonts: open("op.pdf", O_RDWR|O_CREAT|O_TRUNC, 0666) = 8 open("/usr/share/ghostscript/9.07/Resource/Init/Decoding/Unicode", O_RDONLY) = -1 ENOENT (No such file or directory) open("/usr/share/ghostscript/9.07/lib/Decoding/Unicode", O_RDONLY) = -1 ENOENT (No such file or directory) @@ -1314,8 +1314,6 @@ open("/var/cache/fontconfig//3830d5c3ddfd5cd38a049b759396e72e-le64.cache-4", O_RDONLY|O_CLOEXEC) = 9 open("/usr/share/fonts/default", O_RDONLY|O_CLOEXEC) = 9 open("/var/cache/fontconfig//0251a5afa6ac727a1e32b7d4d4aa7cf0-le64.cache-4", O_RDONLY|O_CLOEXEC) = 9 -open("/usr/share/fonts/default/Type1", O_RDONLY|O_CLOEXEC) = 9 -open("/var/cache/fontconfig//b79f3aaa7d385a141ab53ec885cc22a8-le64.cache-4", O_RDONLY|O_CLOEXEC) = 9 open("/usr/share/fonts/default/ghostscript", O_RDONLY|O_CLOEXEC) = 9 open("/var/cache/fontconfig//87f5e051180a7a75f16eb6fe7dbd3749-le64.cache-4", O_RDONLY|O_CLOEXEC) = 9 open("/etc/fonts/fonts.conf", O_RDONLY|O_CLOEXEC) = 9 @@ -1340,440 +1338,102 @@ open("/var/cache/fontconfig//3830d5c3ddfd5cd38a049b759396e72e-le64.cache-4", O_RDONLY|O_CLOEXEC) = 9 open("/usr/share/fonts/default", O_RDONLY|O_CLOEXEC) = 9 open("/var/cache/fontconfig//0251a5afa6ac727a1e32b7d4d4aa7cf0-le64.cache-4", O_RDONLY|O_CLOEXEC) = 9 -open("/usr/share/fonts/default/Type1", O_RDONLY|O_CLOEXEC) = 9 -open("/var/cache/fontconfig//b79f3aaa7d385a141ab53ec885cc22a8-le64.cache-4", O_RDONLY|O_CLOEXEC) = 9 open("/usr/share/fonts/default/ghostscript", O_RDONLY|O_CLOEXEC) = 9 open("/var/cache/fontconfig//87f5e051180a7a75f16eb6fe7dbd3749-le64.cache-4", O_RDONLY|O_CLOEXEC) = 9 -open("/usr/share/fonts/default/Type1/n022024l.pfb", O_RDONLY) = 9 -open("/usr/share/fonts/default/Type1/n021004l.pfb", O_RDONLY) = 9 -open("/usr/share/fonts/default/Type1/n019003l.pfb", O_RDONLY) = 9 -open("/usr/share/fonts/default/Type1/n022023l.pfb", O_RDONLY) = 9 -open("/usr/share/fonts/default/Type1/n019004l.pfb", O_RDONLY) = 9 -open("/usr/share/fonts/default/Type1/z003034l.pfb", O_RDONLY) = 9 -open("/usr/share/fonts/default/Type1/a010035l.pfb", O_RDONLY) = 9 -open("/usr/share/fonts/default/Type1/a010033l.pfb", O_RDONLY) = 9 -open("/usr/share/fonts/default/Type1/d050000l.pfb", O_RDONLY) = 9 -open("/usr/share/fonts/default/Type1/s050000l.pfb", O_RDONLY) = 9 -open("/usr/share/fonts/default/Type1/n022004l.pfb", O_RDONLY) = 9 -open("/usr/share/fonts/default/Type1/n022003l.pfb", O_RDONLY) = 9 -open("/usr/share/fonts/default/Type1/a010015l.pfb", O_RDONLY) = 9 -open("/usr/share/fonts/default/Type1/n019064l.pfb", O_RDONLY) = 9 -open("/usr/share/fonts/default/Type1/a010013l.pfb", O_RDONLY) = 9 -open("/usr/share/fonts/default/Type1/n019063l.pfb", O_RDONLY) = 9 -open("/usr/share/fonts/default/Type1/n019043l.pfb", O_RDONLY) = 9 -open("/usr/share/fonts/default/Type1/n019044l.pfb", O_RDONLY) = 9 open("/usr/share/fonts/default/ghostscript/putr.pfa", O_RDONLY) = 9 open("/usr/share/fonts/default/ghostscript/putb.pfa", O_RDONLY) = 9 open("/usr/share/fonts/default/ghostscript/putbi.pfa", O_RDONLY) = 9 open("/usr/share/fonts/default/ghostscript/putri.pfa", O_RDONLY) = 9 At this point, the working build seems to use Type1 fonts: -open("/usr/share/fonts/default/Type1/b018012l.pfb", O_RDONLY) = 9 -open("/usr/share/fonts/default/Type1/p052003l.pfb", O_RDONLY) = 9 -open("/usr/share/fonts/default/Type1/c059013l.pfb", O_RDONLY) = 9 ... and it goes on ... whilst the broken build goes off looking elsewhere: +open("/usr/share/ghostscript/9.07/Resource/Font/NimbusRomNo9L-ReguItal", O_RDONLY) = -1 ENOENT (No such file or directory) +open("/usr/share/ghostscript/9.07/Resource/Init/NimbusRomNo9L-ReguItal", O_RDONLY) = -1 ENOENT (No such file or directory) +open("/usr/share/ghostscript/9.07/lib/NimbusRomNo9L-ReguItal", O_RDONLY) = -1 ENOENT (No such file or directory) +open("/usr/share/ghostscript/9.07/Resource/Font/NimbusRomNo9L-ReguItal", O_RDONLY) = -1 ENOENT (No such file or directory) +open("/usr/share/ghostscript/fonts/NimbusRomNo9L-ReguItal", O_RDONLY) = -1 ENOENT (No such file or directory) +open("/usr/share/fonts/default/ghostscript/NimbusRomNo9L-ReguItal", O_RDONLY) = -1 ENOENT (No such file or directory) +open("/usr/share/fonts/default/Type1/NimbusRomNo9L-ReguItal", O_RDONLY) = -1 ENOENT (No such file or directory) +open("/usr/share/fonts/default/amspsfnt/pfb/NimbusRomNo9L-ReguItal", O_RDONLY) = -1 ENOENT (No such file or directory) +open("/usr/share/fonts/default/cmpsfont/pfb/NimbusRomNo9L-ReguItal", O_RDONLY) = -1 ENOENT (No such file or directory) +open("/usr/share/fonts/NimbusRomNo9L-ReguItal", O_RDONLY) = -1 ENOENT (No such file or directory) +open("/usr/share/ghostscript/conf.d/NimbusRomNo9L-ReguItal", O_RDONLY) = -1 ENOENT (No such file or directory) +open("/etc/ghostscript/NimbusRomNo9L-ReguItal", O_RDONLY) = -1 ENOENT (No such file or directory) +open("/etc/ghostscript/9.07/NimbusRomNo9L-ReguItal", O_RDONLY) = -1 ENOENT (No such file or directory) +open("/usr/share/poppler/cMap/Adobe-CNS1/NimbusRomNo9L-ReguItal", O_RDONLY) = -1 ENOENT (No such file or directory) +open("/usr/share/poppler/cMap/Adobe-GB1/NimbusRomNo9L-ReguItal", O_RDONLY) = -1 ENOENT (No such file or directory) +open("/usr/share/poppler/cMap/Adobe-Japan1/NimbusRomNo9L-ReguItal", O_RDONLY) = -1 ENOENT (No such file or directory) +open("/usr/share/poppler/cMap/Adobe-Japan2/NimbusRomNo9L-ReguItal", O_RDONLY) = -1 ENOENT (No such file or directory) +open("/usr/share/poppler/cMap/Adobe-Korea1/NimbusRomNo9L-ReguItal", O_RDONLY) = -1 ENOENT (No such file or directory) +open("/usr/share/poppler/cMap/Identity-H/NimbusRomNo9L-ReguItal", O_RDONLY) = -1 ENOTDIR (Not a directory) +open("/usr/share/poppler/cMap/Identity-UTF16-H/NimbusRomNo9L-ReguItal", O_RDONLY) = -1 ENOTDIR (Not a directory) +open("/usr/share/poppler/cMap/Identity-V/NimbusRomNo9L-ReguItal", O_RDONLY) = -1 ENOTDIR (Not a directory) +open("NimbusRomNo9L-ReguItal", O_RDONLY) = -1 ENOENT (No such file or directory) +open("/usr/share/ghostscript/9.07/Resource/Font/NimbusSanL-ReguItal", O_RDONLY) = -1 ENOENT (No such file or directory) +open("/usr/share/ghostscript/9.07/Resource/Init/NimbusSanL-ReguItal", O_RDONLY) = -1 ENOENT (No such file or directory) ... and more of that, all unsuccessful. So what might account for that happening? Paul. -- devel mailing list devel@xxxxxxxxxxxxxxxxxxxxxxx https://admin.fedoraproject.org/mailman/listinfo/devel Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct