Article View: news.software.readers
Article #234202--
From: _
Date: Mon, 06 Jul 2009 14:51
Date: Mon, 06 Jul 2009 14:51
16 lines
1849 bytes
1849 bytes
I no longer have to hard-code-in the diaCritics I need.
Discovering DiaCritics is simple Windows.H stuff, like this:
if ( !surrogatePair && CH[1] >= 0x300 ) { ushort B[ mxCH ];
// Here, the second glyph could be a Diacritic.
GetStringTypeW( CT_CTYPE3, CH, mxCH, B );
if ( *B == C3_ALPHA ) { ushort *Prop = B ;
// Count diaCritics, for the binary search of cached graphemes.
Loop( mxCH - 1 ) {
if ( !*++Prop || *Prop > 7 ) break ; szGraph++ ; } } }
See:
www.JeffRelf.F-M.FM/X.CPP
www.JeffRelf.F-M.FM/X.ZIP
www.JeffRelf.F-M.FM/X.EXE
www.JeffRelf.F-M.FM/X.TXT
Technical Details
Message-ID:
<_@Jeff_Relf.Seattle.2009_Jul6.7.51am.hd>Path:
mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.readers.20140922.mbox.gz!border1.nntp.ams.giganews.com!nntp.giganews.com!de-l.enfer-du-nord.net!news.glorb.com!news2.glorb.com!news-spur2.glorb.com!homer.glorb.com!not-for-mailReferences:
<MPG.24b729015e0b1a3598968c@server> <MPG.24b82a57f5de9944989686@nntp.aioe.org> <MPG.24b82dfe9f65934989689@news.individual.net> <MPG.24b88b9f97cc204989687@nntp.aioe.org> <MPG.24b9e657bb0d82f989691@server> <_@Jeff_Relf.Seattle.2009_Jul4.9.22pm.d4>Show Full Headers
Complete Article Headers
Message-ID: <_@Jeff_Relf.Seattle.2009_Jul6.7.51am.hd> Subject: -- Date: Mon, 06 Jul 2009 14:51:23 +0000 From: _@Jeff_Relf.Seattle.inValid References: <MPG.24b729015e0b1a3598968c@server> <MPG.24b82a57f5de9944989686@nntp.aioe.org> <MPG.24b82dfe9f65934989689@news.individual.net> <MPG.24b88b9f97cc204989687@nntp.aioe.org> <MPG.24b9e657bb0d82f989691@server> <_@Jeff_Relf.Seattle.2009_Jul4.9.22pm.d4> Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.readers.20140922.mbox.gz!border1.nntp.ams.giganews.com!nntp.giganews.com!de-l.enfer-du-nord.net!news.glorb.com!news2.glorb.com!news-spur2.glorb.com!homer.glorb.com!not-for-mail Newsgroups: news.software.readers Organization: Glorb Internet Services, http://www.glorb.com Lines: 16 NNTP-Posting-Host: WY0Wx9k/ZgQ2lC3wWikMWA.user.posting2.glorb.com Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Complaints-To: abuse@glorb.com NNTP-Posting-Date: Mon, 6 Jul 2009 14:51:23 +0000 (UTC) X-Notice: Scanned by Mr. Bill User-Agent: JeffRelf.F-M.FM/X.ZIP