I never saw any response to this inquiry, but I'm still heading in the
same general direction.  Here's an alternative question that may be a
bit easier for someone to answer:

Let's assume that I redefine "show" to grab some relevant info on each
character being imaged (e.g., bounding box, font, point size, etc.).
How should I "print" this information from within the PostScript code
so that it can be retrieved by a follow-on program?  For example, can
I log text messages to some specified file?

-r


At 9:30 PM -0700 8/20/05, Rich Morin wrote:
Let's assume that I have used gs to render some PDF into raster files
(one per page) of some known size.  I would like to be able to generate
corresponding files that contain the bounding boxes for each character
that was imaged, as:

  'F', 46, 100, 100, 120, 110
  'o', 6f, ...
  'o', 6f, ...

Although I'm pretty sure I can find a way to hack this into the code,
I thought I'd ask whether there's already something of this sort that
I should investigate.
--
email: [EMAIL PROTECTED]; phone: +1 650-873-7841
http://www.cfcl.com        - Canta Forda Computer Laboratory
http://www.cfcl.com/Meta   - The FreeBSD Browser, Meta Project, etc.


_______________________________________________
bug-ghostscript mailing list
bug-ghostscript@gnu.org
http://lists.gnu.org/mailman/listinfo/bug-ghostscript

Reply via email to