Subject: pkg/26996: magicpoint doesn't configure TTF support
To: None <gnats-bugs@gnats.netbsd.org>
From: None <kre@munnari.OZ.AU>
List: pkgsrc-bugs
Date: 09/19/2004 20:52:43
>Number:         26996
>Category:       pkg
>Synopsis:       magicpoint doesn't configure TTF support
>Confidential:   no
>Severity:       serious
>Priority:       high
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sun Sep 19 13:53:00 UTC 2004
>Closed-Date:
>Last-Modified:
>Originator:     Robert Elz
>Release:        NetBSD 2.0B   (--pkgsrc current as of a few days ago)
>Organization:
	Prince of Songkla University
>Environment:
System: NetBSD delta.noi.kre.to 2.0B NetBSD 2.0B (DELTA) #0: Fri Apr 16 23:25:38 ICT 2004 kre@lilac.noi.kre.to:/usr/obj/current/sys/arch/i386/compile/DELTA i386
Architecture: i386
Machine: i386
>Description:
	For quite some time now, magicpoint's autoconf machinery
	fails to find TTF support on the system (even though it
	should, and did previously), so disables its use of TTF
	(which has the effect of making earlier .mgp files that
	use the TTF support generate warnings, and look hideous)

>How-To-Repeat:
	Build a current version of magicpoint

	use a .mgp file that contains lines like ...

%deffont "standard" xfont "helvetica-medium-r", tfont "Bookos.ttf", tmfont "wada
lab-gothic.ttf"
%deffont "thick" xfont "helvetica-bold-r", tfont "bookosb.ttf", tmfont "wadalab-
gothic.ttf"
%deffont "typewriter" xfont "courier-medium-r", tfont "cour.ttf", tmfont "wadala
b-gothic.ttf"

	(the tmfont stuff probably isn't relevant).   Run magicpoint, and
	observe the warnings, and that the TTF fonts aren't used.

	Careful inspection of the autoconf bi-products will show magicpoint
	deciding not to use TTF, though I am unable to work out why.

>Fix:
	No idea.   I suspect this is buried somewhere in the buildlink
	logic for the font machinery - I tried a few random changes on
	the off chance that something would make a difference (you know
	the way novice programmers do when faced with a bug - "what happens
	if I change this line???")   Nothing helped.   (Big surprise!)


>Release-Note:
>Audit-Trail:
>Unformatted: