Commit 57f1cd32 authored by Neil Gershenfeld's avatar Neil Gershenfeld

wip

parent 8eca6514
Pipeline #4769 passed with stage
in 1 second
......@@ -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
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment