Hello All,
We're finally proceeding with an upgrade from 5.0 to 5.5.  While testing and
working through small fixes, I'm having an issue that I can't find a good
work around for.  Server setup is:

Windows Server 2003
Witango 5.5 Professional
ActivePDF Toolkit

We've used the same setup on Windows 2000 and 5.0 for years and all has been
fine when working with the ActivePDF Toolkit.

The issue is specifically with single quotes and the ActivePDF Toolkit COM
Object.  Using the <@CALLMETHOD> we call either GetTextWidth or PrintText
and pass a variable that contains a single quote and an error will occur.
 Obviously, I can remove the single quote all together, but I need the
character in there.  I've tried all sorts of work arounds but nothing
accomplishes the goal of having the single quote on the pdf.  I can encode
the string, but the activepdf doesn't decode it leaving the encoded value on
the pdf.

Was the COM interface changed in the upgrade from 5.0 to 5.5?  Does anyone
have any suggestions on a work around?

Also, on a related subject, when we pass an empty string to the PrintText
method, it displays as 6 questions marks on the pdf.  This obviously looks
like crap on the pdf.  To work around that, I've written a <@IFEMPTY> check
im the call and pass a <@CHAR CODE="32"> instead of the empty variable, but
it's not feasible to do that with every application that uses the toolkit.

Any ideas/help?

Thanks,

Dave Green

________________________________________________________________________
TO UNSUBSCRIBE: Go to http://www.witango.com/developer/maillist.taf

Reply via email to