RE: Javascript Chart 2

2001-03-19 Thread Marco Cimarosti

Mike Lischke wrote:
> You should have mentioned that only cimaChrt.htm should be 
> launched in the browser.

Sorry, I forgot to explain this!

The other HTML file is just a hidden frame containing javascript code.

(I explained this when I sent the first version, and my assumption was that
only people having the first version would have been interested in the
second one.)

_ Marco



RE: Javascript Chart

2001-03-07 Thread Sean O Seaghdha

Ar 7 Mar 2001, ag 1:51 scríobh Marco Cimarosti
fán ábhar "RE: Javascript Chart":

> Another funny example is with plane 1 characters (U-01 to U-01),
> that are folded to plane 0 characters.

Doesn't happen for me.  All plane 1-16 characters appear as 2 missing glyph
characters (rectangles).  Another IE peculiarity - no characters display at
all if this is the first (only?) document open.  I had to open a web page
before the characters would display.

IE 5.5, NT 4.0 (SP5)

`~:.,.:'^`~:.,.:'^`~:.,.:'^`~:.,.:'^`~:.,.:'^`~:.,.:'^`~:.,.:'^`~:.,.:'^`~
 S e á n   Ó   S é a g h d h a   [EMAIL PROTECTED]

An bhfacha tú an bacach, nó an bhfacha tú a mhac?
Ní fhaca mé an bacach is ní fhacha mé a mhac,
ach dá bhfeicfinnse an bacach nó dá bhfeicfinnse a mhac,
ní bhacfainn leis an bacach is ní bhacfainn lena mhac!Rabhlóg.




RE: Javascript Chart

2001-03-07 Thread Marco Cimarosti

Peter Constable wrote:
> I did try to change the font using the instructions provided, 
> but it didn't seem to work for me (trying to display
> characters in ver. 3.0 not supported by Arial Unicode MS)
> using IE 5.5. Ideas?

No ideas, sorry.

Unluckily this kind of things is totally dependent on the browser and its
concept of "being standard".

I too noticed some weird things with my version of IE and Arial Unicode MS.

For instance, characters U+0080 to U+009F show the glyphs for Windows cp1252
(euro symbol, etc.), although an HTML numerical reference like &128; should
always be interpreted as Unicode (and, beside that, the file's character set
is explicitly set to something different than cp1252).

Another funny example is with plane 1 characters (U-01 to U-01),
that are folded to plane 0 characters.

So, e.g., U-010300 (OLD ITALIC LETTER A) is shown with the glyph for U+0300
a (COMBINING GRAVE ACCENT).

Curiously, the same thing does not happen with characters in planes 2 to 16
(U-02 to U-010)

_ Marco



Re: Javascript Chart

2001-03-06 Thread John Hudson

At 11:15 AM 3/6/2001 -0800, [EMAIL PROTECTED] wrote:

> >var fontName = "Andale Mono WT J";
>
>That was exactly the same change I made. Can you display Yi or Ethiopic
>characters?

Yes, no problem.

JH

Tiro Typeworks |
Vancouver, BC  | All empty souls tend to extreme opinion.
www.tiro.com   |   W.B. Yeats
[EMAIL PROTECTED]| 




Re: Javascript Chart

2001-03-06 Thread Patrick T. Rourke

In Windows ME, works in IE5.5 but not in Netscape 4.7 or Mozilla 2001021204.
So I doubt it would work in say Linux (I haven't tested it, but might be
able to later on).

In IE5.5/ME, it works for me not only with different fontName values, but
even with a list (e.g.,

var fontName="Arial Unicode MS,Lucida Sans Unicode"

).  Of course, the list simply uses the first font that's available,
regardless of whether the font contains any number of the characters being
mapped (so if one has both fonts, and puts Lucida Sans Unicode first, code
points that LSU doesn't provide glyphs for are displayed as artifact
characters (mostly boxes)).

Good job.  Next time, though, I'd suggest using CSS rather than the
deprecated  element.

Patrick Rourke
[EMAIL PROTECTED]


> I wrote a small HTML document that implements a quick-and-dirty chart for
> Unicode, and I thought that someone on the Unicode list could find it
> useful.
>
> The whole 17 planes may be reached, and you can see the three standard
> encoding forms (not the schemes!) of each character.
>
> The document is formed by two HTML files and can be used off-line. Of
> course, whether your browser shows the correct glyphs or just boxes
depends
> on the availability of fonts and Unicode support in your browser.
>
> I only tested it with Internet Explorer 4.0 on Windows NT (sp6), and I
have
> font Arial Unicode MS installed.
>
> I don't absolutely know (nor give warranties about) whether and how it
works
> on a different environment.
>
> If anyone is adventurous enough to wish to try it, find the two files
> attached. You should put both in the same directory, and open

> in your browser.
>
> Hint: red text is clickable and has some effect; black text is static.
>
> If you wish to read the sources, both files start with an explanatory
> comment, but the rest is totally uncommented (yet).
>
> Have fun (I hope).
> Marco
>
>
>
>
>




Re: Javascript Chart

2001-03-06 Thread Peter_Constable


On 03/06/2001 01:22:47 PM John Hudson wrote:

>I didn't read the instructions :) but I did succeed in getting Marco's
>chart to display with the Unicode 3.0 version of Monotype's Andale Mono by
>changing the line
>
>var fontName = "Arial Unicode MS";
>
>to
>
>var fontName = "Andale Mono WT J";

That was exactly the same change I made. Can you display Yi or Ethiopic
characters?


Peter




Re: Javascript Chart

2001-03-06 Thread John Hudson

At 10:37 AM 3/6/2001 -0800, [EMAIL PROTECTED] wrote:

>I did try to change the font using the instructions provided, but it didn't
>seem to work for me (trying to display characters in ver. 3.0 not supported
>by Arial Unicode MS) using IE 5.5. Ideas?

I didn't read the instructions :) but I did succeed in getting Marco's 
chart to display with the Unicode 3.0 version of Monotype's Andale Mono by 
changing the line

var fontName = "Arial Unicode MS";

to

var fontName = "Andale Mono WT J";


John Hudson

Tiro Typeworks   | Vancouver automobilists switched from
Vancouver, BC| driving on the left to driving on the right
www.tiro.com | at midnight, December 31st, 1922.
[EMAIL PROTECTED]  | It must have been some night.   - BM




Re: Javascript Chart

2001-03-06 Thread Peter_Constable


On 03/06/2001 11:44:33 AM Marco Cimarosti wrote:

>I wrote a small HTML document that implements a quick-and-dirty chart for
>Unicode, and I thought that someone on the Unicode list could find it
>useful.

Well, how's that for clever! Thanks. Not the fastest thing, but useful
nonetheless.

I did try to change the font using the instructions provided, but it didn't
seem to work for me (trying to display characters in ver. 3.0 not supported
by Arial Unicode MS) using IE 5.5. Ideas?



- Peter


---
Peter Constable

Non-Roman Script Initiative, SIL International
7500 W. Camp Wisdom Rd., Dallas, TX 75236, USA
Tel: +1 972 708 7485
E-mail: <[EMAIL PROTECTED]>