typo fixes
This commit is contained in:
parent
b845b0f7bc
commit
3ec28d4720
1 changed files with 2 additions and 2 deletions
|
|
@ -298,7 +298,7 @@ def read(stream: io.BufferedIOBase,
|
|||
path = Path(vertices=vertices,
|
||||
layer=element.get_layer_tuple(),
|
||||
offset=element.get_xy(),
|
||||
repeition=repetition,
|
||||
repetition=repetition,
|
||||
width=element.get_half_width() * 2,
|
||||
cap=cap,
|
||||
**path_args)
|
||||
|
|
@ -566,7 +566,7 @@ def _labels_to_texts(labels: List[Label],
|
|||
texts = []
|
||||
for label in labels:
|
||||
layer, datatype = layer2oas(label.layer)
|
||||
repetition, rep_offset = repetition_masq2fata(shape.repetition)
|
||||
repetition, rep_offset = repetition_masq2fata(label.repetition)
|
||||
xy = numpy.round(label.offset + rep_offset).astype(int)
|
||||
texts.append(fatrec.Text(layer=layer,
|
||||
datatype=datatype,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue