Wayne,

Thanks for the prompt answer.

I know that the general problem of text rendering is very hard: Years ago
I worked on one of the commercial apps which does remote control
(CoSession), and font and color conversion of text were really hard...

...but for my problem, I do not even need the font or color info. I simply
need a new rfb call which transfers the text string, along with its
coordinate, and then I can process the *meaning* of the text string
(with strcmp) and take appropriate action. The screen rendering of the
text is meaningless to me, so the bitmap which also comes over is fine.

I think i will implement what I need...unless someone else has already.

Mark

 > 
> :     WinVNC makes no attempt (in VNCHooks.cpp) to read text
> :     strings which have been put on the screen and send these
> :     as text strings to the vncviewer. Instead, it treats these
> :     strings as bitmaps. SOMEONE PLEASE CONFIRM THIS, OK? Please.
> 
> Ah, now I see what you mean.
> 
> No, vnc in general doesn't do that, because there is no expectation
> that the environment where the viewer is running has access to the
> appropriate fonts which would be used by the server.  It *could* be
> arranged to be true in some limited cases, but it would be very, very
> difficult to figure out when it would work correctly and when it wouldn't.
> And having the same fonts is only the start; what do do about colormaps?
> Translating the pixels handles this naturally, while if you are rendering
> the text, you have to figure out some completely other way of handling it.
> And even if you decide to turn on the feature only if the same version
> of windows at the same patchlevel and with the same colormap... one might
> have a patch or a custom font installed, which would cause problems.
> 
> It seems like a very, VERY tough problem, and hooking the text
> itself is the easiest part of it.
> 
> The "tight" encoding with compression comes close to transfering
> a similar number of bytes to what a text transfer could do (by which
> I mean, perhaps no worse than 2-to-1).  Maybe that would be useful to you?
> 
> 
> Wayne Throop   [EMAIL PROTECTED]
> 


_______________________________________
Mark Krieger
UniPress Software    http://www.unipress.com
[EMAIL PROTECTED]     (732)-287-2100x937

Developer of Footprints
TMC's CRM Excellence Award 2001
Customer Interaction Solutions' Product of the Year 2000
Call Center CRM Solutions' Editors Choice 2000
TMC's CRM Excellence Award 2000
---------------------------------------------------------------------
To unsubscribe, mail [EMAIL PROTECTED] with the line:
'unsubscribe vnc-list' in the message BODY
See also: http://www.uk.research.att.com/vnc/intouch.html
---------------------------------------------------------------------

Reply via email to