diff options
author | cheapie <no-email-for-you@example.com> | 2018-09-15 21:24:30 -0500 |
---|---|---|
committer | cheapie <no-email-for-you@example.com> | 2018-09-15 21:24:30 -0500 |
commit | eda5f628a166bcac7fdd86b7b8566ed250779589 (patch) | |
tree | 662dbb60cd73b1c8c88ea9fa0d653e63c9b19476 | |
parent | 311a5cf8d35fa11942dcf0b348f1a86fa223b5da (diff) | |
download | digidisplay-eda5f628a166bcac7fdd86b7b8566ed250779589.tar digidisplay-eda5f628a166bcac7fdd86b7b8566ed250779589.tar.gz digidisplay-eda5f628a166bcac7fdd86b7b8566ed250779589.tar.bz2 digidisplay-eda5f628a166bcac7fdd86b7b8566ed250779589.tar.xz digidisplay-eda5f628a166bcac7fdd86b7b8566ed250779589.zip |
Decrease line spacing
-rw-r--r-- | init.lua | 8 |
1 files changed, 4 insertions, 4 deletions
@@ -8,9 +8,9 @@ local function removeEntity(pos) end local function generateTexture(fsize,text) - local defTiny = {lines = 16,lineLen = 32,size = 256,margin = 4} - local defSmall = {lines = 8,lineLen = 16,size = 128,margin = 4} - local defMedium = {lines = 4,lineLen = 8,size = 64,margin = 4} + local defTiny = {lines = 20,lineLen = 32,size = 256,margin = 4} + local defSmall = {lines = 10,lineLen = 16,size = 128,margin = 4} + local defMedium = {lines = 5,lineLen = 8,size = 64,margin = 4} local defLarge = {lines = 2,lineLen = 4,size = 32,margin = 4} local defHuge = {lines = 1,lineLen = 2,size = 16,margin = 2} local ddef @@ -34,7 +34,7 @@ local function generateTexture(fsize,text) if char < 0x20 or char > 0x7A then char = 0x3F end - out = out..string.format(":%d,%d=digidisplay_%02x.png",pos*7+ddef.margin,line*14+ddef.margin,char) + out = out..string.format(":%d,%d=digidisplay_%02x.png",pos*7+ddef.margin,line*12+ddef.margin,char) pos = pos+1 if pos >= ddef.lineLen then pos = 0 |