From 57f1cd3226c6d12969c500530b86c0672e755d9e Mon Sep 17 00:00:00 2001
From: Neil Gershenfeld <gersh@cba.mit.edu>
Date: Sun, 5 Jan 2020 22:18:15 -0500
Subject: [PATCH] wip

---
 python/pcb.py | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/python/pcb.py b/python/pcb.py
index ec18615..f41ad8c 100755
--- a/python/pcb.py
+++ b/python/pcb.py
@@ -905,11 +905,13 @@ class text:
       self.height = height
       lineshape = false
       self.shape = false
+      count = 0
       for chr in text:
          if (chr == '\n'):
+            count += 1
             addline(lineshape)
             dx = 0
-            dy -= 1.5*self.height
+            dy -= 1.5*self.height/(1+(count-1)*1.5)
             self.width = -space
             self.height += 1.5*self.height
             lineshape = false
-- 
GitLab