diff --git a/python/pcb.py b/python/pcb.py
index ec186151e2551c1fdc9746fd636853c10ca79acf..f41ad8cddfccfea676e2a1e06093c8f308ecb2dc 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