[g-a-devel]Ghost-View(ggv): Extracting text from GtkGs Widget



Hi,
Am trying to implement accessibility for the "Ghost View Application"
(ggv).
For implementing accessibility for the view-port (Document displayed, &
it's a GtkGs widget), we need to export the "Text" (text of document) to
the AT. 

My Observations:
(1) The display area is a GtkGs widget
(2) The contents of the file ("*.ps") are extracted and passed to the
"gs" through a socket.
(3) From the line no. 970 in "gtkgs.c" which says:
        "bytes_written=write(gs->interpreter_input,
gs->input_buffer_ptr, gs->buffer_bytes_left)"
I understand that the contents of file ("*.ps") is passed to the "gs" as
such in the HEX Format.
Is there any way to extract the text (Document's text) out from it ? 

Also it will be helpful if I get to know the encoding format of the text
in postscript files.

Please pour in your comments...

Thanks & Regards,
Raj.
**************************Disclaimer************************************
      


Information contained in this E-MAIL being proprietary to Wipro Limited
is 'privileged' and 'confidential' and intended for use only by the
individual or entity to which it is addressed. You are notified that any
use, copying or dissemination of the information contained in the E-MAIL
in any manner whatsoever is strictly prohibited.



 ********************************************************************


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]