delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1995/11/13/10:25:48

Xref: news-dnh.mv.net comp.os.msdos.djgpp:3188
Path: news-dnh.mv.net!mv!news.sprintlink.net!newsfeed.internetmci.com!howland.reston.ans.net!Germany.EU.net!zib-berlin.de!solid.theo-physik.uni-kiel.de!news.informatik.uni-kiel.de!news.techfak.uni-kiel.de!news
From: Hartmut Schirmer <hsc AT techfak DOT uni-kiel DOT d400 DOT de>
Newsgroups: comp.os.msdos.djgpp
Subject: Re: bcc2grx 2.0 beta problem
Date: 13 Nov 1995 14:03:15 GMT
Organization: Technische Fakultaet
Lines: 46
References: <47vpss$9sa AT krone DOT daimi DOT aau DOT dk> <486uc2$rvc AT purzel DOT techfak DOT uni-kiel DOT de>
Nntp-Posting-Host: zora.techfak.uni-kiel.de
To: djgpp AT sun DOT soe DOT clarkson DOT edu
Dj-Gateway: from newsgroup comp.os.msdos.djgpp

Hartmut Schirmer <hsc AT techfak DOT uni-kiel DOT d400 DOT de> wrote:
[...]
>Csaba added the 8x8 font lately. I didn't check the actual grx20-beta3 release,
>but it should be included.

I finally checked the GRX 2.0 b3 and didn't find the GrFont_PC... pointers any
longer.

This patch will update the text.c from bccgrxb1.zip:

*** text.old    Thu Aug 31 02:34:34 1995
--- text.c      Mon Nov 13 20:52:26 1995
***************
*** 114,124 ****
      Fonts[i] = NULL;
  
  #ifdef GRX_VERSION
-   Fonts[DEFAULT_FONT] = (void *) &GrFont_PC8x8;
-   DefaultFonts[0] =
-   DefaultFonts[1] = &GrFont_PC8x8;
    for (i=2; i < sizeof(DefaultFonts)/sizeof(GrFont *); ++i)
      DefaultFonts[i] = NULL;
  #else
    Fonts[DEFAULT_FONT] = (void *) GrLoadFont("@:pc8x8.fnt");
  #endif
--- 114,124 ----
      Fonts[i] = NULL;
  
  #ifdef GRX_VERSION
    for (i=2; i < sizeof(DefaultFonts)/sizeof(GrFont *); ++i)
      DefaultFonts[i] = NULL;
+   DefaultFonts[0] =
+   DefaultFonts[1] =   
+   Fonts[DEFAULT_FONT] = (void *) GrLoadFont("pc8x8.fnt");
  #else
    Fonts[DEFAULT_FONT] = (void *) GrLoadFont("@:pc8x8.fnt");
  #endif

Hope this works,
Hartmut
-- 
Hartmut Schirmer                         | E-Mail: hsc AT techfak DOT uni-kiel DOT d400 DOT de
Automatisierungs- u. Regelungstechnik,   |  http://www.techfak.uni-kiel.de/~hsc
Technische Fakult"at, Universit"at Kiel, |
Kaiserstr. 2, D-24143 Kiel, Germany,     | Phone: +49-431-77572-245   FAX: -285

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019