[gs-bugs] [Bug 690644] Driver Text processing

bugs.ghostscript.com-bugzilla-daemon at ghostscript.com bugs.ghostscript.com-bugzilla-daemon at ghostscript.com
Thu Jul 23 09:09:26 PDT 2009


------- Additional Comments From ken.sharp at artifex.com  2009-07-23 09:09 -------
OK, that's really a different question. You *do* need to set up the text
enumerator. As long as you call gx_default_text_begin it will do that for you.

However, you probably don't want to call any of the default text functions, so
you need to create (or at least initialise) the enumerator yourself. I was
assuming you were already aware of this, my mistake.

You will need to define you own methods in the enumerator, I'd suggest looking
at gdev_pdf_text_begin in gdevpdtt.c. This is the pdfwrite device text
processing code, in this routine it allocates an enumerator (subclassed from the
default text enumerator), sets up some PDF-specific fields and calls
gs_text_enum_init in order to set up the methods for dealing with text.

You will need to do much of the same work.

------- You are receiving this mail because: -------
You are the QA contact for the bug, or are watching the QA contact.

More information about the gs-bugs mailing list