diff --git a/pdfmajor/interpreter/commands/state/PDFGraphicState/PDFColor.py b/pdfmajor/interpreter/commands/state/PDFGraphicState/PDFColor.py index c773786..1046255 100644 --- a/pdfmajor/interpreter/commands/state/PDFGraphicState/PDFColor.py +++ b/pdfmajor/interpreter/commands/state/PDFGraphicState/PDFColor.py @@ -13,4 +13,6 @@ class PDFColor: ) def __repr__(self): - return f"" + return f"""""" diff --git a/pdfmajor/interpreter/commands/state/layout/LTCurves.py b/pdfmajor/interpreter/commands/state/layout/LTCurves.py index c35c159..043bed2 100644 --- a/pdfmajor/interpreter/commands/state/layout/LTCurves.py +++ b/pdfmajor/interpreter/commands/state/layout/LTCurves.py @@ -24,6 +24,14 @@ class LTCurve(LTComponent): self.stroke = stroke self.fill = fill + def __repr__(self): + return ('<%s [%s] fill=%s stroke=%s>' % ( + self.__class__.__name__, + str(self.bbox), + self.fill, + self.stroke + )) + ## LTLine ## class LTLine(LTCurve):