On 11/19/2001 10:49:18 PM "James Kass" wrote:

>>Which leads me to be sceptical and wonder how you
>> know that those are plane 2 characters if they only appear as 
momentarily
>> flickers?
>
>Easy, I made the font that's being momentarily displayed.  Also,
>depending upon when the mouse is released, the Plane Two glyph
>may remain on the screen highlighted for selection.

Bizarre! OK, I have to change my assumptions. Unscribe provides a cmap 
lookup function ScriptGetCMap, which is provided so that an app can tell 
(if desired) whether the selected font supports the particular characters. 
That suggests that it may be doing its own cmap lookups rather than 
getting GDI to do it. In fact, I guess that makes sense since GDI doesn't 
provide a function that can return the intial glyph IDs that the shaping 
engine would need (if GDI did provide such a function, ScriptGetCMap 
wouldn't have been needed).

We still don't have an account for why behaviour differs when selecting. 
Here's a suggestion: IE calls Uniscribe to find out if the script is 
complex; it says "no", and so IE uses older text functions; but with a 
selection, IE knows that there will be issues in matching screen positions 
to character positions in the backing store for complex scripts, and there 
isn't as much of a speed issue while the user is dragging a selection 
(it's only redrawing a small portion of the text), and so it just uses 
Uniscribe to handle the text drawing in that situation.

A wild guess.



>On this page, (all-on-one-line)
>
>http://www.i18nwithvb.com/surrogate_ime/code_charts/05.asp?nofont
>
>...you can try to duplicate the effect on M.E. in MSIE 5.5

Well, I'm running Win2000, and I have yet to succeed in viewing plane 2 
characters. (Plane 1 seems to work OK.) I've done all that I know to do, 
and it still isn't working for me. Maybe I don't have a font for these 
characters -- I thought I did.

Can people let me know of fonts they are aware of that support plane 2 
characters?



- 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]>


Reply via email to