diff --git a/PPOCRLabel/libs/shape.py b/PPOCRLabel/libs/shape.py index 4e0b1f08c65ba04dd2e3fac6db29d3ab67d89f0c..121e43b8aee62dd3e5e0b2e2fbdebf10e775f57b 100644 --- a/PPOCRLabel/libs/shape.py +++ b/PPOCRLabel/libs/shape.py @@ -126,8 +126,7 @@ class Shape(object): color = self.select_line_color if self.selected else self.line_color pen = QPen(color) # Try using integer sizes for smoother drawing(?) - # no need, it casuses that font is too small in high-resolusion image - # pen.setWidth(max(1, int(round(2.0 / self.scale)))) + pen.setWidth(max(1, int(round(2.0 / self.scale)))) painter.setPen(pen) line_path = QPainterPath()