Re: [even more increasingly OT-- into Sunday morning] Re: Unicode HTML, download

2004-11-21 Thread Michael \(michka\) Kaplan
This is JScrript tags in HTML -- client side script.

I do not if other browsers have solutions for this problem?

Michael

- Original Message - 
From: "Christopher Fynn" <[EMAIL PROTECTED]>
Cc: "Michael (michka) Kaplan" <[EMAIL PROTECTED]>; "Unicode List"
<[EMAIL PROTECTED]>
Sent: Sunday, November 21, 2004 7:49 AM
Subject: Re: [even more increasingly OT-- into Sunday morning] Re: Unicode
HTML, download


> Thanks Michael
>
> This is useful information. Unfortunately I usually need to use static
> HTML - so I can't use the ASP parts.  It would be nice see something
> like this working on UTF-8 encoded web pages where lang  is defined. In
> most cases knowing the text is a specific language and knowing the page
> is Unicode would let you know which script is being used.
>
> I'd also like to figure out a way to trigger this kind of behavior  in
> other browsers as well as in IE (using Java Script or Java rather than
> VB)  as not quite everyone uses IE - (but I guess you are not going to
> give me any more clues on how to do that :-) )
>
> regards
>
> - Chris
>
>
>
> Michael (michka) Kaplan wrote:
>
> > From: "Stefan Persson" <[EMAIL PROTECTED]>
>
> >>I haven't used M$ IE for many years, though, and my
> >>memory might be wrong.
>
> >
> > Blinded by the misspelling of the product name, maybe? :-)
>
> > See http://msdn.microsoft.com/msdnmag/issues/0700/localize/ and the
section
> > entitled "Choosing Character Sets" for info on what is going on here,
> > particularly firgures 3 and 4 for info on how to script the behavior for
the
> > UTF-8 case
>
> > MichKa [MS]
> > NLS Collation/Locale/Keyboard Technical Lead
> > Globalization Infrastructure, Fonts, and Tools
> > Windows International Division
>
>
>
>




Re: [even more increasingly OT-- into Sunday morning] Re: Unicode HTML, download

2004-11-21 Thread Philippe Verdy
From: "Christopher Fynn" <[EMAIL PROTECTED]>
I'd also like to figure out a way to trigger this kind of behavior  in 
other browsers as well as in IE (using Java Script or Java rather than VB) 
as not quite everyone uses IE - (but I guess you are not going to give me 
any more clues on how to do that :-) )
If only there was a portable way to determine in JavaScript that a string 
can be rendered with the existing fonts, or to enumerate the installed fonts 
and get some of their properties... we could prompt the user to install some 
fonts or change their browser settings, or we could autoadapt the CSS style 
rules, notably the list of fonts inserted in the "font-family:" or 
abbreviated "font:" CSS properties...

There are limited controls with the CSS "@" keys that allow building 
"virtual" font names, but not enough to tune the font selections by script 
or by code point ranges. And Javascript is of little help to paliate.
Certainly there's a need to include in a refined standard DOM for styles the 
properties needed to manage prefered font stacks associated to a virtual 
font name (for example, in a way similar to what Java2D v1.5 allows), that 
can then be referenced directly within legacy HTML  
or in CSS "font-family: virtualname" properties (some examples of virtual 
font names are standardized in HTML: "serif", "sans-serif", "monospace"; 
Java2D or AWT adds "dialog" and "dialoginput"; but other virtual names could 
be defined as well like "decorated" or "handscript" or "ocr").

The key issue here is to create documents that refer to font families 
according to their usage rather than their exact appearance and the limited 
set of languages and scripts they support.

Another possibility would be to create a portable but easily tunable font 
format (XML based? so that they can be created or tuned by scripting through 
DOM?) which would be a list of references to various external but actual 
fonts or glyph collections, and parameters to allows selecting in them with 
various priorities. For now this is not implemented in font technologies 
(OpenType, Graphite, ...) but within vendor-specific renderer APIs (than 
contain some rules to create such font mappings).




Re: [even more increasingly OT-- into Sunday morning] Re: Unicode HTML, download

2004-11-21 Thread John Cowan
Michael (michka) Kaplan scripsit:

> > I haven't used M$ IE for many years, though, and my
> > memory might be wrong.
> 
> Blinded by the misspelling of the product name, maybe? :-)

No, that's just a glyph difference.  :-)

> See http://msdn.microsoft.com/msdnmag/issues/0700/localize/ and the section
> entitled "Choosing Character Sets" for info on what is going on here,
> particularly firgures 3 and 4 for info on how to script the behavior for the
> UTF-8 case

Nice article, though it's obnoxious that the figures will only open
in a pop-up window.  

-- 
Ambassador Trentino: I've said enough. I'm a man of few words.
Rufus T. Firefly: I'm a man of one word: scram!
--Duck Soup John Cowan <[EMAIL PROTECTED]>



Re: [even more increasingly OT-- into Sunday morning] Re: Unicode HTML, download

2004-11-21 Thread Christopher Fynn
Thanks Michael
This is useful information. Unfortunately I usually need to use static 
HTML - so I can't use the ASP parts.  It would be nice see something 
like this working on UTF-8 encoded web pages where lang  is defined. In 
most cases knowing the text is a specific language and knowing the page 
is Unicode would let you know which script is being used.

I'd also like to figure out a way to trigger this kind of behavior  in 
other browsers as well as in IE (using Java Script or Java rather than 
VB)  as not quite everyone uses IE - (but I guess you are not going to 
give me any more clues on how to do that :-) )

regards
- Chris

Michael (michka) Kaplan wrote:
From: "Stefan Persson" <[EMAIL PROTECTED]>

I haven't used M$ IE for many years, though, and my
memory might be wrong.

Blinded by the misspelling of the product name, maybe? :-)

See http://msdn.microsoft.com/msdnmag/issues/0700/localize/ and the section
entitled "Choosing Character Sets" for info on what is going on here,
particularly firgures 3 and 4 for info on how to script the behavior for the
UTF-8 case

MichKa [MS]
NLS Collation/Locale/Keyboard Technical Lead
Globalization Infrastructure, Fonts, and Tools
Windows International Division




Re: [even more increasingly OT-- into Sunday morning] Re: Unicode HTML, download

2004-11-21 Thread Michael \(michka\) Kaplan
From: "Stefan Persson" <[EMAIL PROTECTED]>

> I haven't used M$ IE for many years, though, and my
> memory might be wrong.

Blinded by the misspelling of the product name, maybe? :-)

See http://msdn.microsoft.com/msdnmag/issues/0700/localize/ and the section
entitled "Choosing Character Sets" for info on what is going on here,
particularly firgures 3 and 4 for info on how to script the behavior for the
UTF-8 case

MichKa [MS]
NLS Collation/Locale/Keyboard Technical Lead
Globalization Infrastructure, Fonts, and Tools
Windows International Division