From: Alexei S. <ale...@gm...> - 2012-06-18 22:52:32
|
On Mon, Jun 18, 2012 at 2:38 PM, Robert Munafo <mr...@gm...> wrote: > In my scientific apps, written by me and running within SheepShaver, > the clipboard PICT data includes a label with important information as > text strings (DrawString). These label text strings need to survive > the transfer to the host OS in order for cut/paste to be useful. > Assuming there's no good open source library to handle arbitrary PICT data, the solution here would be to add some functionality to TESyncScrap or a similar extension that would intercept clipboard data on the guest OS side and when it's a PICT, rasterize it into PICT bitmap-only data, putting that back on the guest clipboard. Then, when SheepShaver gets that data, the PICTs will be guaranteed to only have bitmap data, which could be handled by paintlib (or possibly even some simpler code we can just write for SheepShaver) which would then be easily convertible to the host OS clipboard format. This solution would then work cross-platform, instead of being tied to Mac OS X as the host. -Alexei |