From 0e4b6828df671e3659617227cf231ac70011f734 Mon Sep 17 00:00:00 2001 From: Jan Petykiewicz Date: Sat, 26 Sep 2020 17:24:04 -0700 Subject: [PATCH] Disable height warning for DXF --- masque/file/dxf.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/masque/file/dxf.py b/masque/file/dxf.py index 581bfcd..a5e7bc1 100644 --- a/masque/file/dxf.py +++ b/masque/file/dxf.py @@ -237,9 +237,9 @@ def _read_block(block, clean_vertices): } string = element.dxfattribs().get('text', '') height = element.dxfattribs().get('height', 0) - if height != 0: - logger.warning('Interpreting DXF TEXT as a label despite nonzero height. ' - 'This could be changed in the future by setting a font path in the masque DXF code.') +# if height != 0: +# logger.warning('Interpreting DXF TEXT as a label despite nonzero height. ' +# 'This could be changed in the future by setting a font path in the masque DXF code.') pat.labels.append(Label(string=string, **args)) # else: # pat.shapes.append(Text(string=string, height=height, font_path=????))