RE: strange text problem

2011-11-01 Thread Ralph DiMola
Is it possible that multiple white spaces between words are being compressed
to 1? Are different types of white spaces (160 non-breaking space for
example) are being changed to a 32(standard ascii space).

Ralph DiMola
IT Director
Evergreen Information Services

-Original Message-
From: use-livecode-boun...@lists.runrev.com
[mailto:use-livecode-boun...@lists.runrev.com] On Behalf Of Chris Sheffield
Sent: Tuesday, November 01, 2011 12:06 PM
To: How to use LiveCode
Subject: Re: strange text problem

Unfortunately that didn't work. I did try setting the width of the text
field to the formattedWidth, which seems to help, but I've still got the
shifting going on sometimes. It's almost as if by changing the color of a
chunk it's causing the field to wrap its text differently. Very strange.

Any other suggestions?

--
Chris Sheffield
Read Naturally, Inc.
www.readnaturally.com

On Oct 31, 2011, at 3:56 PM, Scott Rossi wrote:

 Have you tried explicitly setting the textColor of all text in the field
to
 your default before setting the textColor of the next string?  Perhaps
 resetting the text to the default (or empty) in between updates will get
 around the problem.
 
 Regards,
 
 Scott Rossi
 Creative Director
 Tactile Media, UX Design
 
 
 
 Recently, Chris Sheffield wrote:
 
 Wondering if anyone has a fix for this one.
 
 I'm working on an iOS app for iPad. I've got a block of text (a story) in
a
 text field. I'm changing the color of sentences in time with audio that
is
 playing. As the color changes, the text is shifting, almost as if the
size of
 the text is changing slightly. All I'm doing is setting the textColor of
a
 chunk of text. Something like:
 
 set the textColor of word 1 to 8 of fld text to blue
 
 I am not applying a font size or style or anything like that. The problem
does
 not occur in the LiveCode IDE as far as I can tell. Only in the iOS
simulator
 and on the device.
 
 Has anyone done anything similar? Can the problem be fixed? I don't know
if
 it's just a matter of finding the right dimensions for my field and/or a
 combination of text size and text height? Right now the field is 600
pixels in
 width. The font is Arial, size 20, and the text height is set to 28.
 
 Any suggestions would be welcome.
 
 Thanks,
 Chris
 
 --
 Chris Sheffield
 Read Naturally, Inc.
 www.readnaturally.com
 
 
 ___
 use-livecode mailing list
 use-livecode@lists.runrev.com
 Please visit this url to subscribe, unsubscribe and manage your
subscription
 preferences:
 http://lists.runrev.com/mailman/listinfo/use-livecode
 
 
 
 ___
 use-livecode mailing list
 use-livecode@lists.runrev.com
 Please visit this url to subscribe, unsubscribe and manage your
subscription preferences:
 http://lists.runrev.com/mailman/listinfo/use-livecode


___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


RE: strange text problem

2011-11-01 Thread Mark Powell
In addition to explicitly setting the textColor, you might try explicitly 
setting the textHeight.  You might also test with Courier to see if a different 
font set behaves similarly.

-Original Message-
From: use-livecode-boun...@lists.runrev.com 
[mailto:use-livecode-boun...@lists.runrev.com] On Behalf Of Scott Rossi
Sent: Monday, October 31, 2011 2:56 PM
To: LiveCode Mail List
Subject: Re: strange text problem

Have you tried explicitly setting the textColor of all text in the field to
your default before setting the textColor of the next string?  Perhaps
resetting the text to the default (or empty) in between updates will get
around the problem.

Regards,

Scott Rossi
Creative Director
Tactile Media, UX Design


Recently, Chris Sheffield wrote:

 Wondering if anyone has a fix for this one.

 I'm working on an iOS app for iPad. I've got a block of text (a story) in a
 text field. I'm changing the color of sentences in time with audio that is
 playing. As the color changes, the text is shifting, almost as if the size of
 the text is changing slightly. All I'm doing is setting the textColor of a
 chunk of text. Something like:

 set the textColor of word 1 to 8 of fld text to blue

 I am not applying a font size or style or anything like that. The problem does
 not occur in the LiveCode IDE as far as I can tell. Only in the iOS simulator
 and on the device.

 Has anyone done anything similar? Can the problem be fixed? I don't know if
 it's just a matter of finding the right dimensions for my field and/or a
 combination of text size and text height? Right now the field is 600 pixels in
 width. The font is Arial, size 20, and the text height is set to 28.

 Any suggestions would be welcome.

 Thanks,
 Chris

 --
 Chris Sheffield
 Read Naturally, Inc.
 www.readnaturally.com




___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: strange text problem

2011-10-31 Thread Scott Rossi
Have you tried explicitly setting the textColor of all text in the field to
your default before setting the textColor of the next string?  Perhaps
resetting the text to the default (or empty) in between updates will get
around the problem.

Regards,

Scott Rossi
Creative Director
Tactile Media, UX Design



Recently, Chris Sheffield wrote:

 Wondering if anyone has a fix for this one.
 
 I'm working on an iOS app for iPad. I've got a block of text (a story) in a
 text field. I'm changing the color of sentences in time with audio that is
 playing. As the color changes, the text is shifting, almost as if the size of
 the text is changing slightly. All I'm doing is setting the textColor of a
 chunk of text. Something like:
 
 set the textColor of word 1 to 8 of fld text to blue
 
 I am not applying a font size or style or anything like that. The problem does
 not occur in the LiveCode IDE as far as I can tell. Only in the iOS simulator
 and on the device.
 
 Has anyone done anything similar? Can the problem be fixed? I don't know if
 it's just a matter of finding the right dimensions for my field and/or a
 combination of text size and text height? Right now the field is 600 pixels in
 width. The font is Arial, size 20, and the text height is set to 28.
 
 Any suggestions would be welcome.
 
 Thanks,
 Chris
 
 --
 Chris Sheffield
 Read Naturally, Inc.
 www.readnaturally.com
 
 
 ___
 use-livecode mailing list
 use-livecode@lists.runrev.com
 Please visit this url to subscribe, unsubscribe and manage your subscription
 preferences:
 http://lists.runrev.com/mailman/listinfo/use-livecode



___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: strange text problem

2011-10-31 Thread Chris Sheffield
Scott,

Good idea. I haven't tried that. Will do so and let you know.

Thanks.

--
Chris Sheffield
Read Naturally, Inc.
www.readnaturally.com

On Oct 31, 2011, at 3:56 PM, Scott Rossi wrote:

 Have you tried explicitly setting the textColor of all text in the field to
 your default before setting the textColor of the next string?  Perhaps
 resetting the text to the default (or empty) in between updates will get
 around the problem.
 
 Regards,
 
 Scott Rossi
 Creative Director
 Tactile Media, UX Design
 
 
 
 Recently, Chris Sheffield wrote:
 
 Wondering if anyone has a fix for this one.
 
 I'm working on an iOS app for iPad. I've got a block of text (a story) in a
 text field. I'm changing the color of sentences in time with audio that is
 playing. As the color changes, the text is shifting, almost as if the size of
 the text is changing slightly. All I'm doing is setting the textColor of a
 chunk of text. Something like:
 
 set the textColor of word 1 to 8 of fld text to blue
 
 I am not applying a font size or style or anything like that. The problem 
 does
 not occur in the LiveCode IDE as far as I can tell. Only in the iOS simulator
 and on the device.
 
 Has anyone done anything similar? Can the problem be fixed? I don't know if
 it's just a matter of finding the right dimensions for my field and/or a
 combination of text size and text height? Right now the field is 600 pixels 
 in
 width. The font is Arial, size 20, and the text height is set to 28.
 
 Any suggestions would be welcome.
 
 Thanks,
 Chris
 
 --
 Chris Sheffield
 Read Naturally, Inc.
 www.readnaturally.com
 
 
 ___
 use-livecode mailing list
 use-livecode@lists.runrev.com
 Please visit this url to subscribe, unsubscribe and manage your subscription
 preferences:
 http://lists.runrev.com/mailman/listinfo/use-livecode
 
 
 
 ___
 use-livecode mailing list
 use-livecode@lists.runrev.com
 Please visit this url to subscribe, unsubscribe and manage your subscription 
 preferences:
 http://lists.runrev.com/mailman/listinfo/use-livecode


___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode