Panic: can't load any fonts

From: Jeremy C. Reed <>
Date: Wed, 9 Jan 2008 12:38:53 -0600 (CST)

This is on NetBSD/amd64 4.0_RC4. This is with Mowitz-0.3.1 and siag-3.6.1.
The Xaw is libXaw-1.0.3 (from

Whenever I run siag or pw, I receive:

 Warning: Cannot convert string "-*-helvetica-medium-r-*-*-12-*-*-*-*-*-iso8859-*" to type FontStruct
 Panic: can't load any fonts!

And it exits.

I can run tsiag, xedplus, gvu and xfiler. (I can't run egon because it
core dumps -- that is a different email.)

The error is from lookup_font() in Mowitz's MwXFormat.c.

What does this font problem?

What fonts does it try before the hard-coded default

Where can I configure this?

My Mowitz package provides a /usr/pkg/share/Mowitz/fonts.txt file and
several files under /usr/pkg/share/Mowitz/fonts/.

ktrace of pw shows it reads the /usr/pkg/share/Mowitz/fonts.txt file and
it also reads several fonts: /usr/pkg/share/Mowitz/fonts/agw.afm,
/usr/pkg/share/Mowitz/fonts/agwo.afm, and others including the "hv"
(helvetica) fonts..

Any plans to use Xft2 and/or fontconfig with siag (and Mowitz)?

I was able to solve my problem by doing:

- installing font-adobe-100dpi (from

- running "mkfontdir /usr/pkg/lib/X11/fonts/100dpi"

- and then "xset +fp /usr/pkg/lib/X11/fonts/100dp"

The fonts look terrible though in siag.

  Jeremy C. Reed
Received on Wed Jan 09 2008 - 19:39:19 CET

This archive was generated by hypermail 2.2.0 : Wed Jan 09 2008 - 19:39:20 CET