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:
<p><font face="Arial" color="#FF0000">....
BUT it was this:
<p><font  color="#FF0000">....

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

Reply via email to