Update terminus font

This commit is contained in:
Autumn Lamonte 2021-12-22 05:06:27 -06:00
parent e18e8f3de2
commit 27114ac6ce
10 changed files with 8 additions and 2 deletions

Binary file not shown.

View file

@ -99,7 +99,7 @@ public class SwingTerminal extends LogicalScreen
/**
* The terminus font resource filename.
*/
public static final String FONTFILE = "terminus-ttf-4.39/TerminusTTF-Bold-4.39.ttf";
public static final String FONTFILE = "terminus-ttf-4.49.1/TerminusTTF-Bold-4.49.1.ttf";
/**
* Cursor style to draw.

View file

@ -7749,7 +7749,13 @@ public class ECMA48 implements Runnable {
if ((y + 1) * textHeight > image.getHeight()) {
height = image.getHeight() - (y * textHeight);
}
if ((width != textWidth) || (height != textHeight)) {
// I'm genuinely not sure if making many small cells with
// array copy is better than slicing. Memory pressure is
// killing it at high animation rates. Leaving the true in
// the check below will use the smaller cells rather than
// subImages.
if (true || (width != textWidth) || (height != textHeight)) {
// Copy the smaller-than-text-cell-size image to a
// full-text-cell-size.
BufferedImage newImage;