Re: [Dps-devel] Texteroids and GhostScript
Status: Inactive
Brought to you by:
jch
From: Masatake Y. <mas...@is...> - 2000-01-24 12:02:01
|
> > I'm swapping requests, events and errors, but I'm not doing anything > to the actual stream of data (as contained in the GiveInput requests > and the Output events). Do I need to? And should there be problems > on a local connection (LSBFirst to LSBFirst)? > You don't have to swap the data for GiveInput. I think DGS will be hint. dps_GiveInput in gsdpsx.c is handle GiveInput request. The data dgs received in dps_GiveInput is put to gs input stream(only copyed). So the gs can interpret the data dgs received in dps_GiveInput directly. * Compare the data dgs received in dps_GiveInput with the data dpsx received in ???. * You can give the binary encoded script to gs itself directly. Some approaches: 1. Write a binary encoded script. 2. Give it the gs itself directly. 3. Give it the dgs. 4. Give it the dpsx and put a trap at the ??? function and redirect the recetived data to a file. Then compare the file with the original script. If you find a difference between the file and the original script, there is a bug on the path between a client and dpsx. 5. Give the encoded script directly to the gs in dpsx. Anyway comparing dpsx with DGS will help you. DGS is not clean enough but it works. Masatake |