You are not logged in.
I have installed ttf-mscorefonts and I expect Courier monospace fonts or another monospace
fonts family like Liberation, DejaVu, Bitstream.
I try also xpdf, epdfview, zathura and apvlv but the problem remains.
Offline
Hm, probably the fonts are not embedded into the PDF file and libpoppler doesn't handle that properly. You can try embedding ALL fonts into the PDF file and see if that did the job. Make sure ghostscript is installed (sudo apt-get install ghostscript), and then do
gs -dCompatibilityLevel=1.4 -dPDFSETTINGS=/printer -DCompressFonts=true -DSubsetFonts=true -DNOPAUSE -dBATCH -sDEVICE=pdfwrite -sOutputFile=$OUTFILE -c '.setpdfwrite <</NeverEmbed [ ]>> setdistillerparams' -f "$INFILE"where $INFILE is the pdf document you want to fix and $OUTFILE is the file the copy with the embedded fonts will be written to. I have this problem too with pdf readers that are based on libpoppler (okular, evince,...) but have never seen it with mupdf.
Offline
gs -dCompatibilityLevel=1.4 -dPDFSETTINGS=/printer -DCompressFonts=true -DSubsetFonts=true -DNOPAUSE -dBATCH -sDEVICE=pdfwrite -sOutputFile=$OUTFILE -c '.setpdfwrite <</NeverEmbed [ ]>> setdistillerparams' -f "$INFILE"Offline
gs -dCompatibilityLevel=1.4 -dPDFSETTINGS=/printer -DCompressFonts=true -DSubsetFonts=true -DNOPAUSE -dBATCH -sDEVICE=pdfwrite -sOutputFile=$OUTFILE -c '.setpdfwrite <</NeverEmbed [ ]>> setdistillerparams' -f "$INFILE"Offline
km@km:~/tmp$ pdfclean input.pdf output.pdf
+ pdf/pdf_xref.c:502: pdf_load_xref(): object offset out of range: 0 (7 0 R)
\ pdf/pdf_xref.c:537: pdf_open_xref_with_stream(): trying to repairOffline
Well, this seems to be some bug in libpoppler then.
A method that might help to circumvent the problem: convert the PDF to PS: pdf2ps $input.pdf $output.ps , convert to PDF again ps2pdf $output.ps $output.pdf and eventually try all the other methods again if this didn't fix it?
I'm running out of ideas that don't involve abusing pdfTeX.
Offline
@twoion
pdf2ps displays similar messages.
km@km:~/tmp/pdfs$ pdf2ps input.pdf output.ps
**** Warning: considering '0000000000 XXXXX n' as a free entry.
**** Warning: File has insufficient data for an image.
error: cannot decode code stream
unable to decode JPX image data.Thank you for all your assistance!
Offline
Offline
Copyright © 2012 CrunchBang Linux.
Proudly powered by Debian. Hosted by Linode.
Debian is a registered trademark of Software in the Public Interest, Inc.
Server: bleh