Re: Minor htmlText bug

2005-03-09 Thread ron barber
Don't know if its related or not but is the textfont of the fld you are 
pasting into, the same as the font of the text being pasted? Try 
setting the textfont of the field to something different and see if it 
doesn't force the htmltext to include font info.

Ron
On Mar 9, 2005, at 5:00 PM, Thomas McCarthy wrote:
I've noticed a minor bug with saving the htmltext property of a field.
I'm using macrons (long marks over vowels--unicode characters) with 
some text. I copy some text from a word processing program and then 
paste the rtftext from the clipboard to a field. I then save the 
htmltext of the field as a custom property to access later.

The problem is this. I notice that the first few letters got all mixed 
up (up to the first macron?)

I tracked the problem down to this:
The beginging of the htmlText should look like this:

BUT it was this:

pasting the mising  'face="Arial"', fixed the problem. Anyone else 
experience this? I'm going to be doing a lot of text this way and 
would rather not have to fix it everytime.

thanks
tm
___
Join Excite! - http://www.excite.com
The most personalized portal on the Web!
___
use-revolution mailing list
use-revolution@lists.runrev.com
http://lists.runrev.com/mailman/listinfo/use-revolution
___
use-revolution mailing list
use-revolution@lists.runrev.com
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: Minor htmlText bug

2005-03-11 Thread Mark Brownell
On Wednesday, March 9, 2005, at 06:07 AM, Thomas McCarthy wrote:
Message: 9
Date: Wed,  9 Mar 2005 03:00:26 -0500 (EST)
From: "Thomas McCarthy" <[EMAIL PROTECTED]>
Subject: Minor htmlText bug
To: use-revolution@lists.runrev.com
Message-ID: <[EMAIL PROTECTED]>
Content-Type: text/plain; charset="us-ascii"
I've noticed a minor bug with saving the htmltext property of a field.
I'm using macrons (long marks over vowels--unicode characters) with 
some text. I copy some text from a word processing program and then 
paste the rtftext from the clipboard to a field. I then save the 
htmltext of the field as a custom property to access later.

The problem is this. I notice that the first few letters got all mixed 
up (up to the first macron?)

I tracked the problem down to this:
The beginging of the htmlText should look like this:

BUT it was this:

pasting the mising  'face="Arial"', fixed the problem. Anyone else 
experience this? I'm going to be doing a lot of text this way and 
would rather not have to fix it everytime.

thanks
tm
The trick I use is to make sure that the font face attribute that I 
want will be included is to paste the rtftext from the clipboard to a 
field that does not have the same font type as the result I would like 
included in the  font face attribute. Try picking a really minimally 
used font type for your  clipboard to a field procedure if you want to 
get most of the font face attributes included.

hth,
Mark
___
use-revolution mailing list
use-revolution@lists.runrev.com
http://lists.runrev.com/mailman/listinfo/use-revolution