Date: Mon, 26 Jan 2009 14:06:23 -0800 From: Gary Kline <kline@thought.org> To: Polytropon <freebsd@edvax.de> Cc: Chuck Robey <chuckr@telenix.org>, FreeBSD Mailing List <freebsd-questions@freebsd.org> Subject: Re: can i split a pdf file? Message-ID: <20090126220623.GA76673@thought.org> In-Reply-To: <20090126091623.a0b50f64.freebsd@edvax.de> References: <20090126001822.GA38314@thought.org> <20090126005156.GJ66858@comcast.net> <497D0FF3.6090402@telenix.org> <20090126080618.GA51983@thought.org> <20090126091623.a0b50f64.freebsd@edvax.de>
next in thread | previous in thread | raw e-mail | index | archive | help
On Mon, Jan 26, 2009 at 09:16:23AM +0100, Polytropon wrote: > On Mon, 26 Jan 2009 00:06:18 -0800, Gary Kline <kline@thought.org> wrote: > > Thanks, Gents, > > > > But according to one smallish pdf file that I send to a web based > > tool, it was not a real pdf. Or, more accurately, it (the pdf to > > speech program) couldn't decode it. > > This is a typical problem with "poorly engineered" PDFs where the > author puts in the text as images (you'll see this stupidity across > the Web, too). So what kind of moron is going to photograph pages --or maybe just get-screenshot-of-this-page" and upload it? Or a Real question: I read an online pdf of "The Art of War" from the 1880's [?], and it was in an old-English or olden-Deutsch type font. In PDF. i have other p.d. texts in pdf and am wondering in there is some sort of scanner than can take a book-length script and create a pdf file. Anybody know? > > A good tool to check if the PDF file can be (audibly) read is the > use of the tool pdftotext from the port xpdf. > > % pdftotext bla.pdf && less bla.txt > > Then, even the FF speech plugin should work correctly - as long as > the PDF file contains decodable text. If it's just a bunch of images, > well, what are we expecting, hm? FF-speech: "You see a pretty image of > some text..." :-) > Yeah, that's about right! I got a bunch of ^L bytes and nothing else. Now I'm looking at the file with od -c and, yup, it's and image. The parts inbetween pages are in ASCII. Do you know what "MediaBox" is? At least the web article was not an image! Google had it both in PDF and HTML. gary > > > -- > Polytropon > From Magdeburg, Germany > Happy FreeBSD user since 4.0 > Andra moi ennepe, Mousa, ... -- Gary Kline kline@thought.org http://www.thought.org Public Service Unix http://jottings.thought.org http://transfinite.thought.org The 2.23a release of Jottings: http://jottings.thought.org/index.php
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20090126220623.GA76673>