diff --git a/pytrustnfe/nfe/danfe.py b/pytrustnfe/nfe/danfe.py index 5b578bc..63decf9 100644 --- a/pytrustnfe/nfe/danfe.py +++ b/pytrustnfe/nfe/danfe.py @@ -323,7 +323,7 @@ class danfe(object): P = Paragraph(tagtext(oNode=elem_emit, cTag='xNome'), styleN) w, h = P.wrap(55 * mm, 40 * mm) P.drawOn(self.canvas, (self.nLeft + 30) * mm, - (self.height - self.nlin - ((5*h + 12)/12)) * mm) + (self.height - self.nlin - ((4.3*h + 12)/12)) * mm) if self.logo: img = get_image(self.logo, width=2 * cm) @@ -347,7 +347,7 @@ class danfe(object): P = Paragraph(cEnd, styleN) w, h = P.wrap(55 * mm, 30 * mm) P.drawOn(self.canvas, (self.nLeft + 30) * mm, - (self.height - self.nlin - 31) * mm) + (self.height - self.nlin - 33) * mm) # Homologação if tagtext(oNode=elem_ide, cTag='tpAmb') == '2':