From f0b7c187c4079102532d7d7d11c28165f404d1d2 Mon Sep 17 00:00:00 2001 From: Michael Bayne Date: Wed, 10 Dec 2003 03:32:07 +0000 Subject: [PATCH] Not to freak out if someone hasn't stuffed the right s3cr3t business in the UIManager. git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@2901 542714f4-19e9-0310-aa3c-eee0fc999fb1 --- src/java/com/threerings/puzzle/client/PuzzleBoardView.java | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/java/com/threerings/puzzle/client/PuzzleBoardView.java b/src/java/com/threerings/puzzle/client/PuzzleBoardView.java index d2ee31190..95ba165b8 100644 --- a/src/java/com/threerings/puzzle/client/PuzzleBoardView.java +++ b/src/java/com/threerings/puzzle/client/PuzzleBoardView.java @@ -1,5 +1,5 @@ // -// $Id: PuzzleBoardView.java,v 1.5 2003/12/05 05:15:03 mdb Exp $ +// $Id: PuzzleBoardView.java,v 1.6 2003/12/10 03:32:07 mdb Exp $ package com.threerings.puzzle.client; @@ -459,6 +459,9 @@ public abstract class PuzzleBoardView extends VirtualMediaPanel static { // create the puzzle fonts Font ofont = UIManager.getFont("Label.serifFont"); + if (ofont == null) { + ofont = new Font("Helvetica", Font.PLAIN, 16); + } ofont = ofont.deriveFont((float)FONT_SIZES[0]); _fonts = new Font[FONT_SIZES.length]; for (int ii = 0; ii < _fonts.length; ii++) {