πŸš€ go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: alt.free.newsservers
Article #112388

To create fonts, X.CPP uses classes like β€œ FontFamily ”.

#112388
From: Jeffβ–²Relf
Date: Thu, 05 Mar 2009 11:12
53 lines
3153 bytes
On the Shared-Secrets NNTP server,
there is no Article Number 85323 in Alt.Free.Newsservers.

β€œ Article <pan.2009.03.01.01.45.58@shared-secrets.com> ”
should ( but doesn't ) return:
β€œ Xref: news.shared-secrets.com alt.free.newsservers:150113 ”;
                
Instead, it returns 
β€œ Xref: news.shared-secrets.com alt.free.newsservers:85323 ”;

Robb is telling me this is a problem with my newsReader,
but that can't be because telnet returns the same info.
Robb hasn't tried β€œ Article <MsgID> ”, so he doesn't know.

Oddly, Robb pointed me to a webSite that explained
Object Oriented Programming ― as if that was my problem.
To create fonts, JeffRelf.F-M.FM/X.CPP uses classes like β€œ FontFamily ”:

  #include <GDIPlus.H>
  #pragma comment( lib, "GDIPlus.LIB")
  using namespace Gdiplus;
      ....
  gFont( HFONT &F, LnP  N, int H ) {
    //  β€œ FontFamily ” is a <GDIPlus.H> thing.
    FontFamily Nym( N );
    if ( ! Nym.IsAvailable() )
      //  Font is not installed, leave it NULL.
      return ;
    DeleteObject( F );
    F = CreateFont( H, 0,0,0,0,0,0,0,0,0,0,0, FIXED_PITCH, N );  }
        ....
  gFont( DejaVu, L"DejaVu Sans Mono", CharH );
  gFont( Consolas, L"Consolas", CharH );
  gFont( Courier, L"Courier New", CharH );
  gFont( Mincho, L"MS Mincho", _CharH(128./256) );
      ....
When caching a glyph ( to a DirectDraw surface ):

   //  Find a glyph in these fonts, in this order.  
   Try( DejaVu ) Try( Consolas ) Try( Courier ) Try( Mincho )
   //  Can't cache the glyph, give up.
   Chk( TheCache->ReleaseDC( DC ) );  return 1 ;

   HaveGlyph:
     //  Cache the glyph.
         ....
   #define  Try( F )  \
     if ( F ) {  \
       /*  Font exists, see if it has our glyph  */  \
       SetPtr( DC, F );  \
       GetGlyphIndices(  \
          DC, B, 1, pUShort( & Good ), GGI_MARK_NONEXISTING_GLYPHS );  \
       if ( Good != -1 )  goto  HaveGlyph ;  }
Technical Details
Message-ID: <Jeff_Relf@Seattle.2009_Mar.5|3.12am|e>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!i2pn2.pugleaf.net!archive.newsdeef.eu!mbox2nntp-alt.free.newsservers.20150605.mbox.gz!border1.nntp.ams.giganews.com!border2.nntp.ams.giganews.com!nntp.giganews.com!feeder4.cambrium.nl!feed.tweaknews.nl!209.197.12.246.MISMATCH!nx02.iad.newshosting.com!newshosting.com!post02.iad!news.shared-secrets.com!not-for-mail
References: <Jeff_Relf@Seattle.2009_Mar.4|3.25pm|A> <pan.2009.03.05.00.13.49@shared-secrets.com> <2kjsa9.46p.19.1@news.alt.net> <pan.2009.03.05.07.17.12.31000@4e-mail.change.UNDERSCORE> <Jeff_Relf@Seattle.2009_Mar.5|1.14am|i> <80y6vk5nea.fsf@banana.shacknet.nu>

Show Full Headers
Complete Article Headers
Message-ID: <Jeff_Relf@Seattle.2009_Mar.5|3.12am|e>
Subject: To create fonts, X.CPP uses classes like β€œ FontFamily ”.
Date: Thu, 05 Mar 2009 11:12:37 +0000
From: Jeffβ–²Relf <Jeff_Relf@Seattle.TEST>
References: <Jeff_Relf@Seattle.2009_Mar.4|3.25pm|A> <pan.2009.03.05.00.13.49@shared-secrets.com> <2kjsa9.46p.19.1@news.alt.net> <pan.2009.03.05.07.17.12.31000@4e-mail.change.UNDERSCORE> <Jeff_Relf@Seattle.2009_Mar.5|1.14am|i> <80y6vk5nea.fsf@banana.shacknet.nu>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!i2pn2.pugleaf.net!archive.newsdeef.eu!mbox2nntp-alt.free.newsservers.20150605.mbox.gz!border1.nntp.ams.giganews.com!border2.nntp.ams.giganews.com!nntp.giganews.com!feeder4.cambrium.nl!feed.tweaknews.nl!209.197.12.246.MISMATCH!nx02.iad.newshosting.com!newshosting.com!post02.iad!news.shared-secrets.com!not-for-mail
MIME-Version: 1.0
Content-Transfer-Encoding: 8bit
Content-Type: text/plain; charset=UTF-8
Newsgroups: alt.free.newsservers
User-Agent: JeffRelf.F-M.FM/X.ZIP
Lines: 53
Organization: Unknown
X-Complaints-To: abuse@shared-secrets.com
X-Original-Bytes: 2886