aboutsummaryrefslogtreecommitdiffstats
path: root/src/de/mud/terminal/SoftFont.java
diff options
context:
space:
mode:
authorJeffrey Sharkey <jsharkey@jsharkey.org>2008-08-24 23:07:29 +0000
committerJeffrey Sharkey <jsharkey@jsharkey.org>2008-08-24 23:07:29 +0000
commit5b1352c54c66fbe3307e7ff22e0543dc47f76da6 (patch)
tree5d586e4e84d8ca13f2b52a0d3ffb19e0019a72eb /src/de/mud/terminal/SoftFont.java
parent2d555d046e185b229a688817ac78e7e277e5b391 (diff)
downloadconnectbot-5b1352c54c66fbe3307e7ff22e0543dc47f76da6.tar.gz
connectbot-5b1352c54c66fbe3307e7ff22e0543dc47f76da6.tar.bz2
connectbot-5b1352c54c66fbe3307e7ff22e0543dc47f76da6.zip
* Fixing an off-by-one error in vt320 for ANSI 'U' escape sequences.Was messing up scrollback on irssi sessions.
* Filling buffer will ' ' (spaces) instead of null characters. Android's MONOSPACE font doesn't render the null correctly; might be trying to interpret them as unicode. Was messing up indentation on rtorrent sessions. * Removed SoftFont from redraw() and sped things up immensely. Everything seems to still render fine, was there a reason we needed the SoftFont? * Corrected buffer.update[] handling so we aren't repainting entire screen each time; much faster now. * Added OpenGL rendering by default, but doesn't change speed on emulator.
Diffstat (limited to 'src/de/mud/terminal/SoftFont.java')
-rw-r--r--src/de/mud/terminal/SoftFont.java3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/de/mud/terminal/SoftFont.java b/src/de/mud/terminal/SoftFont.java
index bd25a60..e5da3db 100644
--- a/src/de/mud/terminal/SoftFont.java
+++ b/src/de/mud/terminal/SoftFont.java
@@ -1,7 +1,7 @@
/*
* This file is part of "JTA - Telnet/SSH for the JAVA(tm) platform".
*
- * (c) Matthias L. Jugel, Marcus Meißner 1996-2005. All Rights Reserved.
+ * (c) Matthias L. Jugel, Marcus Meiner 1996-2005. All Rights Reserved.
*
* Please visit http://javatelnet.org/ for updates and contact.
*
@@ -43,6 +43,7 @@ public class SoftFont {
final static private char SF_BITMAP = 0;
final static private char SF_FILLRECT = 1;
+
//final static private char SF_CHAR = 0;
final static private char SF_WIDTH= 1;
final static private char SF_HEIGHT= 2;