Re: text appears, but styling is gone
Re: text appears, but styling is gone
- Subject: Re: text appears, but styling is gone
- From: Emmanuel <email@hidden>
- Date: Tue, 14 Jan 2003 16:38:28 +0100
At 10:18 AM +0000 14/01/03, has wrote:
It's odd: why return a styled text type, not a plain text type, if
styles aren't portable outside the app? And frustrating, as there's
no easy way to transfer styled content from one application to
another. Might be a bug, or a still-to-be-implemented feature, or
something else completely - it'd be good to know.
I would vote for "something else completely".
Maybe the way of making things clear would be to state that "styled"
in "styled Unicode text" is not the same word as "styled" in "styled
text".
Open a non-Unicode, styled-text window (e.g. Smile's text windows).
Type "a". Select, set the font to "Symbol". You get an "alpha".
Now open a styled Unicode window (e.g. TextEdit's windows). Type "a".
Select, set the font to "Symbol". You still get an "a" - with a
sligthly different design. To type "alpha", you've got to use the
in-line input menu, switch to Greek, and type "a" (or something else
if your keyboard is not qwerty).
In Unicode, (as Philippe recalled, I think), one code (possibly
spread over many bytes) is one glyph. In styled text, one glyph is
one code out of one font. "Styling" Unicode can make a straight "a"
into a slanted "a", not into any "alpha".
<opinion>
Unicode text and UNIX are somehow antinomic. With UNIX, with the
C-language, powerful fast tools let you manipulate efficiently
"streams" of characters. With Unicode, you display much more things -
Cangies, Greek letters, symbols - but text processing tools are
helpless.
Somehow, I feel like the Unicode area, whatever its future expansion,
will be an area forbidden to the power of UNIX.
</opinion>
Emmanuel
_______________________________________________
applescript-users mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/applescript-users
Do not post admin requests to the list. They will be ignored.