Disable height warning for DXF
This commit is contained in:
parent
a02dfdc982
commit
0e4b6828df
@ -237,9 +237,9 @@ def _read_block(block, clean_vertices):
|
|||||||
}
|
}
|
||||||
string = element.dxfattribs().get('text', '')
|
string = element.dxfattribs().get('text', '')
|
||||||
height = element.dxfattribs().get('height', 0)
|
height = element.dxfattribs().get('height', 0)
|
||||||
if height != 0:
|
# if height != 0:
|
||||||
logger.warning('Interpreting DXF TEXT as a label despite nonzero height. '
|
# 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.')
|
# 'This could be changed in the future by setting a font path in the masque DXF code.')
|
||||||
pat.labels.append(Label(string=string, **args))
|
pat.labels.append(Label(string=string, **args))
|
||||||
# else:
|
# else:
|
||||||
# pat.shapes.append(Text(string=string, height=height, font_path=????))
|
# pat.shapes.append(Text(string=string, height=height, font_path=????))
|
||||||
|
Loading…
Reference in New Issue
Block a user