Received: from unicode.org (unicode.org [209.235.17.55]) by spok.premier1.net (8.9.3/8.9.3) with ESMTP id KAA18072 for ; Tue, 30 Oct 2001 10:38:53 -0800 (PST) Received: from sarasvati.unicode.org (localhost.localdomain [127.0.0.1]) by unicode.org (8.9.3/8.9.3) with ESMTP id NAA20186; Tue, 30 Oct 2001 13:08:51 -0500 Received: with LISTAR (v1.0.0; list unicode); Tue, 30 Oct 2001 13:08:51 -0500 (EST) Received: from mail3.microsoft.com (mail3.microsoft.com [131.107.3.123]) by unicode.org (8.9.3/8.9.3) with ESMTP id NAA20180 for ; Tue, 30 Oct 2001 13:08:50 -0500 Received: from INET-VRS-03.redmond.corp.microsoft.com ([157.54.5.27]) by mail3.microsoft.com with Microsoft SMTPSVC(5.0.2195.2966); Tue, 30 Oct 2001 10:10:55 -0800 Received: from 157.54.5.25 by INET-VRS-03.redmond.corp.microsoft.com (InterScan E-Mail VirusWall NT); Tue, 30 Oct 2001 10:10:55 -0800 Received: from red-imc-02.redmond.corp.microsoft.com ([157.54.9.107]) by inet-hub-03.redmond.corp.microsoft.com with Microsoft SMTPSVC(5.0.2195.2966); Tue, 30 Oct 2001 10:10:55 -0800 Received: from win-imc-01.wingroup.windeploy.ntdev.microsoft.com ([157.54.0.39]) by red-imc-02.redmond.corp.microsoft.com with Microsoft SMTPSVC(5.0.2195.2966); Tue, 30 Oct 2001 10:10:54 -0800 Received: from win-msg-03.wingroup.windeploy.ntdev.microsoft.com ([157.54.0.198]) by win-imc-01.wingroup.windeploy.ntdev.microsoft.com with Microsoft SMTPSVC(6.0.3541.1); Tue, 30 Oct 2001 10:10:08 -0800 X-MimeOLE: Produced By Microsoft Exchange V6.0.6063.0 content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Subject: RE: Enabling and testing surrogates Date: Tue, 30 Oct 2001 10:10:10 -0800 Message-ID: X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: Enabling and testing surrogates Thread-Index: AcFhVR2S0WBE60NjQ32VOFjNFNydbAAFltSA From: "John McConnell" To: "Alan Wood" , "Unicode List" X-OriginalArrivalTime: 30 Oct 2001 18:10:08.0976 (UTC) FILETIME=[1C27ED00:01C1616E] Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from quoted-printable to 8bit by unicode.org id NAA20180 X-archive-position: 42 X-listar-version: Listar v1.0.0 Sender: unicode-bounce@unicode.org Errors-to: unicode-bounce@unicode.org X-original-sender: johnmcco@windows.microsoft.com Precedence: bulk List-help: List-unsubscribe: List-software: Listar version 1.0.0 X-List-ID: X-list: unicode X-UIDL: 44fb842c82872dbcf6f25f72387a64df Windows XP has some modest improvements for surrogate support. The info may not be on MSDN yet, so here's a summary: - there are just two optional language packs (one for East Asian and one for the rest). If either is installed, usp10.dll (Uniscribe) is installed and you'll get surrogate processing. You can still enable surrogate processing the old way if you don't want to install any of the optional language packs. - We've got a limited form of font-linking in XP. It's driven by a few registry entries: HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\LanguagePack\SurrogateFallback\Plane1 HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\LanguagePack\SurrogateFallback\Plane2 HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\LanguagePack\SurrogateFallback\Plane3 Etc. The value of each of these is the OpenType font that GDI will link to if it encounters a surrogate pair on the appropriate plane and the current font doesn't have the glyph. XP doesn't include any fonts with non-BMP glyphs yet, so the registry values are still empty by default. The same font file may be used as the fallback for two or more planes. The fallback font must be an OpenType font with a cmap table with format 8, 10, or 12. If the Unicode Character does not exist in the fallback font specified by the registry, Uniscribe performs no further font-linking or fallback (i.e. the user sees the default glyph for the current font). - NLS (CompareString etc.) has limited support for surrogates. In particular, CompareString and LCMapString will assign weights to the first two and last two planes. What I've described will affect Win32 apps (e.g. Notepad). Behavior within an app or some system components may be different. John -----Original Message----- From: Alan Wood [mailto:alan.wood@context.co.uk] Sent: Tuesday, October 30, 2001 6:56 AM To: Unicode List Subject: Enabling and testing surrogates Carl Brown kindly provided a link with details of enabling surrogates, which has now moved to: http://msdn.microsoft.com/library/default.asp?url=/library/en-us/intl/unicod e_192r.asp I don't have access to Windows 2000 or XP yet, but I have just added test pages for Old Italic, Gothic, Deseret, Byzantine Musical Symbols, Musical Symbols, Mathematical Alphanumeric Symbols, CJK Compatibility Ideographs Supplement and Tags to my Web site, starting at: http://www.hclrss.demon.co.uk/unicode/old_italic.html I would be very interested to know if these pages actually work, after surrogates have been enabled according to the instructions in the linked article. Does anyone know if it is easier to enable surrogates in Windows XP? Alan Wood Documentation Writer / Web Master Context Limited (http://www.context.co.uk/) mailto:alan.wood@context.co.uk http://www.alanwood.net/ (Unicode, special characters, pesticide names) > -----Original Message----- > From: Carl W. Brown [SMTP:cbrown@xnetinc.com] > Sent: Wednesday, October 04, 2000 12:04 AM > To: Unicode List > Subject: RE: lag time in Unicode implementations in OS, etc? > > James, > > Look at > http://msdn.microsoft.com/library/psdk/winbase/unicode_192r.htm > > It explains how to turn on surrogates for W2K and some of the Open > Type issues. > > Carl > > -----Original Message----- > From: James Kass [mailto:jameskass@worldnet.att.net] > Sent: Tuesday, October 03, 2000 3:28 PM > To: Unicode List > Subject: Re: lag time in Unicode implementations in OS, etc? > > Chris Pratley wrote (regarding surrogate support): > > > There are a couple of reg keys that can do part of the enabling. I > > think > the > > Windows team will release a support pack of some kind once they've > > got > the > > support final (turning on the reg keys simply enables part of the > support - > > there are still fonts, IMEs, and sorting) > > > > Microsoft Typography web site OpenType specifications > offer no clue that I could find for building a Plane 1 > font. The cmap page only goes through format 6. > Should such a font just be built to the Apple > specs for cmap format 12 or is there a spec at the > Microsoft site that I just couldn't find? > > Best regards, > > James Kass. >