Re: Graphics Context Default Font
"Thomas M. Hermann" <[email protected]> Mon, 21 May 2007 11:36:11 -0500
| Newsgroups | gmane.lisp.clx.devel |
|---|---|
| Message-ID | <[email protected]> |
This is a multi-part message in MIME format. --------------080905040500070301020004 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit [email protected] wrote: >> I'm using a darcs pull of clx with sbcl 1.0.3 and Xorg 6.9 on FreeBSD >> 6.1. I've been working through the examples described as Simple CLX: >> >> http://www.cawtech.demon.co.uk/clx/simple/examples.html >> >> I've successfully run every example up to 'hello-world'. Evaluation of >> hello-world hangs because it relies on a default value for the font in >> the graphics context. If I specify the font to use, it evaluates >> correctly. >> > > In my tutorial I wrote: > > >> The graphics context contains a field for the font >> information, and is supposed to default to something >> useable. >> > > My recollection is that I was worried about chosing a font > that would be present on everybody's system and was > delighted to find in the documentation that the default font, > although unspecifed, was supposed to be something usable. > > I cannot track down where in the CLX manual it actually says > this. I do hope it is officially required, as it make it > easy to write a portable program that can display an > appropriate font-not-found message. > > I wrote the tutorial on FreeBSD, and have just retested it > successfully on FreeBSD 5.4-RELEASE, CMU Common Lisp 19a, > * (require :clx) > ; Loading #p"/usr/local/lib/cmucl/lib/subsystems/clx-library.x86f". > > That is the CLX that comes in the extras package that > accompanies CMUCL. The darcs port for 5.4 was broken and I > just gave up. > > Alan Crowe > > After I submitted this initial topic, I checked your examples on CMUCL and they all worked. I agree that getting a default font is important, that is why I'm trying to track down this problem in telent-clx+sbcl. I've still not found the error, but have some leads. Tom -- === Thomas M. Hermann === --------------080905040500070301020004 Content-Type: text/x-vcard; charset=utf-8; name="tmh.public.vcf" Content-Transfer-Encoding: base64 Content-Disposition: attachment; filename="tmh.public.vcf" YmVnaW46dmNhcmQNCmZuOlRob21hcyBNLiBIZXJtYW5uDQpuOkhlcm1hbm47VGhvbWFzDQpl bWFpbDtpbnRlcm5ldDp0bWgucHVibGljQGdtYWlsLmNvbQ0KdGVsO2NlbGw6MzE2LjYxNy40 NDUzDQp4LW1vemlsbGEtaHRtbDpGQUxTRQ0KdmVyc2lvbjoyLjENCmVuZDp2Y2FyZA0KDQo= --------------080905040500070301020004-- _______________________________________________ Portable-clx mailing list [email protected] http://lists.metacircles.com/cgi-bin/mailman/listinfo/portable-clx See http://www.cliki.net/clx for darcs URL(s)