mirror of
https://gitlab.com/AutumnMeowMeow/jexer
synced 2024-09-19 03:40:20 -06:00
Update terminus font
This commit is contained in:
parent
e18e8f3de2
commit
27114ac6ce
10 changed files with 8 additions and 2 deletions
Binary file not shown.
Binary file not shown.
Binary file not shown.
BIN
resources/terminus-ttf-4.49.1/TerminusTTF-4.49.1.ttf
Normal file
BIN
resources/terminus-ttf-4.49.1/TerminusTTF-4.49.1.ttf
Normal file
Binary file not shown.
BIN
resources/terminus-ttf-4.49.1/TerminusTTF-Bold Italic-4.49.1.ttf
Normal file
BIN
resources/terminus-ttf-4.49.1/TerminusTTF-Bold Italic-4.49.1.ttf
Normal file
Binary file not shown.
BIN
resources/terminus-ttf-4.49.1/TerminusTTF-Bold-4.49.1.ttf
Normal file
BIN
resources/terminus-ttf-4.49.1/TerminusTTF-Bold-4.49.1.ttf
Normal file
Binary file not shown.
BIN
resources/terminus-ttf-4.49.1/TerminusTTF-Italic-4.49.1.ttf
Normal file
BIN
resources/terminus-ttf-4.49.1/TerminusTTF-Italic-4.49.1.ttf
Normal file
Binary file not shown.
|
@ -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.
|
||||
|
|
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue