🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.readers
Article #7653

Re: XVnews on Solaris 2.x and Fonts

#7653
From: Alan Snyder
Date: Tue, 08 Feb 1994 18:20
27 lines
1689 bytes
Try the following change in xvnews_ui.c:



/*
 * Initialize an instance of object `xvnews_window'.
 */
xvnews_xvnews_window_objects *
xvnews_xvnews_window_objects_initialize(ip, owner)
	xvnews_xvnews_window_objects	*ip;
	Xv_opaque	owner;
{
	Xv_font listfont;

	if (!ip && !(ip = (xvnews_xvnews_window_objects *) calloc(1, sizeof (xvnews_xvnews_window_objects))))
		return (xvnews_xvnews_window_objects *) NULL;
	if (!ip->xvnews_window)
		ip->xvnews_window = xvnews_xvnews_window_xvnews_window_create(ip, owner);

	listfont = (Xv_font)xv_find(ip->xvnews_window, FONT,
				    FONT_FAMILY, FONT_FAMILY_DEFAULT_FIXEDWIDTH,
				    NULL);

	if (!ip->controls2)
		ip->controls2 = xvnews_xvnews_window_controls2_create(ip, ip->xvnews_window);

	xv_set(ip->controls2, WIN_FONT, listfont, NULL);
Technical Details
Message-ID: <mlfm04INN15i@appserv.Eng.Sun.COM>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!archive!mbox2nntp-news.software.readers.mbox.zip!gmd.de!xlink.net!rz.uni-karlsruhe.de!news.uni-ulm.de!zib-berlin.de!math.fu-berlin.de!MathWorks.Com!europa.eng.gtefsd.com!howland.reston.ans.net!cs.utexas.edu!koriel!news2me.EBay.Sun.COM!exodus.Eng.Sun.COM!appserv.Eng.Sun.COM!appserv.Eng.Sun.COM!news
References: <CKv609.73G@dutiws.twi.tudelft.nl>

Show Full Headers
Complete Article Headers
Message-ID: <mlfm04INN15i@appserv.Eng.Sun.COM>
Subject: Re: XVnews on Solaris 2.x and Fonts
Date: Tue, 08 Feb 1994 18:20:52 +0000
From: sny@eng.sun.com (Alan Snyder)
References: <CKv609.73G@dutiws.twi.tudelft.nl>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!archive!mbox2nntp-news.software.readers.mbox.zip!gmd.de!xlink.net!rz.uni-karlsruhe.de!news.uni-ulm.de!zib-berlin.de!math.fu-berlin.de!MathWorks.Com!europa.eng.gtefsd.com!howland.reston.ans.net!cs.utexas.edu!koriel!news2me.EBay.Sun.COM!exodus.Eng.Sun.COM!appserv.Eng.Sun.COM!appserv.Eng.Sun.COM!news
Newsgroups: news.software.readers
Organization: Sun Microsystems
Lines: 32
Distribution: world
Reply-To: sny@eng.sun.com
NNTP-Posting-Host: treetop
Keywords: xvnews