1 // -*- Mode: Java; indent-tabs-mode: t; tab-width: 4 -*-
2 // ---------------------------------------------------------------------------
4 // Copyright (C) Stephanie Gawroriski <xer@multiphasicapps.net>
5 // ---------------------------------------------------------------------------
6 // SquirrelJME is under the GNU General Public License v3+, or later.
7 // See license.mkd for licensing and copyright information.
8 // ---------------------------------------------------------------------------
12 import cc
.squirreljme
.runtime
.lcdui
.font
.SQFFont
;
13 import java
.io
.InputStream
;
14 import net
.multiphasicapps
.tac
.TestRunnable
;
17 * Tests that the fonts load.
24 /** The fonts to test reading. */
25 private static final String
[] _FONTS
=
45 for (String s
: _FONTS
)
46 try (InputStream in
= SQFFont
.class.getResourceAsStream(s
))
49 SQFFont f
= SQFFont
.read(in
);
52 this.secondary(s
, true);