changeset 189:ab6f64d1a24a

use floating point font size, change size by scaling factor rather than linear addition
author Carl Byington <carl@five-ten-sg.com>
date Wed, 02 Jul 2014 16:14:57 -0700
parents cf677a6f586d
children dfdbc75cd45f
files src/com/five_ten_sg/connectbot/service/TerminalBridge.java
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/src/com/five_ten_sg/connectbot/service/TerminalBridge.java	Wed Jul 02 16:10:20 2014 -0700
+++ b/src/com/five_ten_sg/connectbot/service/TerminalBridge.java	Wed Jul 02 16:14:57 2014 -0700
@@ -78,8 +78,8 @@
 public class TerminalBridge implements VDUDisplay {
     public final static String TAG = "ConnectBot.TerminalBridge";
 
-    public  final static float  DEFAULT_FONT_SIZE = 10.0;
-    private final static float  FONT_SIZE_FACTOR  = 1.1;
+    public  final static float  DEFAULT_FONT_SIZE = 10.0f;
+    private final static float  FONT_SIZE_FACTOR  = 1.1f;
 
     public Integer[] color;