🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.readers
Article #229987

X.EXE's fonts: Consolas, MS Mincho, Courier New and Musical Symbols.

#229987
From: Jeff▲Relf
Date: Tue, 10 Feb 2009 14:57
60 lines
3227 bytes
“ There seems, however, to be an issue when you post Hebrew.
  Gene E Bloch sees it written right-to-left,
  and I see it written left-to-right.
  
  It's possible that what you're sending is correct
  and what slrn is showing in a Konsole window is wrong. ”, you told me.

Google Groups on FireFox 3 ( or IE 7 ) displays the Hebrew I posted
the same way it's displayed in WikiPedia.
winLiveMail, ThunderBird and X.EXE also display it in the right order.

Visual Studio displays the words in the wrong order, left to right.
   .....
I can't use SLRN in a DOS window because
it won't let me copy text ( no right-click ).
   ......
X.EXE uses IMultiLanguage3.GetCharsetInfo().

When X sees a bogus charset
( e.g. x-user-configured, ISO-8859-1 or US-ASCII )
it simply ignores it and falls back to Windows-1252.
   .........
You told me:
“ In order to display unusual but correct Unicode characters,
  one needs an appropriate Unicode font,
  but DejaVu is good enough for the languages I can read. ”.
  
X.EXE needs at least 4 fonts for that,
like this ( from JeffRelf.F-M.FM/X.CPP ):

  SetPtr( DC, Bass ? BassFnt : Fnt );

  //  BassFnt is Musical Symbols, and “ Bass ” is a careless kluge
  //  to display a 24-bit glyph from Unicode's “ Supplementary Plane ”.
  if ( ! Bass ) {  short  Good ;  

    GetGlyphIndices( 
      DC, B, 1, pUShort( & Good ), GGI_MARK_NONEXISTING_GLYPHS );

    if ( Good != -1 )
      //  Fnt is Consolas, and it has the current glyph, *B.
      goto  HaveGlyph ;

    SetPtr( DC, SymFnt );
    GetGlyphIndices(
      DC, B, 1, pUShort( & Good ), GGI_MARK_NONEXISTING_GLYPHS );

    if ( Good != -1 )
      //  SymFnt is MS Mincho, and it has the current glyph, *B.
      goto  HaveGlyph ; 

    SetPtr( DC, HebFnt );
    GetGlyphIndices(
      DC, B, 1, pUShort( & Good ), GGI_MARK_NONEXISTING_GLYPHS );

    if ( Good != -1 )
      //  HebFnt is Courier New, and it has the current glyph, *B.
      goto  HaveGlyph ;
      
    //  We're S.O.L., can't display the glyph. 
Technical Details
Message-ID: <Jeff_Relf@Seattle.2009_Feb.10|6.57am|b>
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!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail
References: <20090209170914.371@skamandros.andrews-corner.org> <Jeff_Relf@Seattle.2009_Feb.9|5.54am|E> <slrngp0j03.bgn.catwheezel@ID-107770.user.individual.net> <slrngp0jl7.bgn.catwheezel@ID-107770.user.individual.net> <Jeff_Relf@Seattle.2009_Feb.9|8.23am|V> <slrngp1ms3.9d9.pjr@pjr.gotdns.org>

Show Full Headers
Complete Article Headers
Message-ID: <Jeff_Relf@Seattle.2009_Feb.10|6.57am|b>
Subject: X.EXE's fonts: Consolas, MS Mincho, Courier New and Musical Symbols.
Date: Tue, 10 Feb 2009 14:57:34 +0000
From: Jeff▲Relf <Jeff_Relf@Seattle.TEST>
References: <20090209170914.371@skamandros.andrews-corner.org> <Jeff_Relf@Seattle.2009_Feb.9|5.54am|E> <slrngp0j03.bgn.catwheezel@ID-107770.user.individual.net> <slrngp0jl7.bgn.catwheezel@ID-107770.user.individual.net> <Jeff_Relf@Seattle.2009_Feb.9|8.23am|V> <slrngp1ms3.9d9.pjr@pjr.gotdns.org>
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!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail
Newsgroups: news.software.readers
Lines: 60
Mime-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
X-Trace: individual.net Q3pUTboU6ajq5Jnupnv6gQgspeCY9G1wLwUM5y8GSH4ek1zd8E
Cancel-Lock: sha1:rlSOKxGYuBMx6x4XhXMZ3cLIuu0=
User-Agent: JeffRelf.F-M.FM/X.ZIP