From c3596b8c20fd1d7f89a3a71d393d88a8f6a0f979 Mon Sep 17 00:00:00 2001 From: FFengIll Date: Wed, 8 Mar 2023 09:50:49 +0000 Subject: [PATCH] chore: fix comment typo. --- pdf_white_cut/analyzer.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pdf_white_cut/analyzer.py b/pdf_white_cut/analyzer.py index 18d45f8..89b87ba 100644 --- a/pdf_white_cut/analyzer.py +++ b/pdf_white_cut/analyzer.py @@ -69,7 +69,7 @@ def extract_item_box(item): # TODO: here we ignored fonts and text line direction, may error in some cases # since the text has a height on y-axis, or has a width on x-axis, # we must modify it to make the whole text visible - # FIXME: no we use `half` for upper and lower, may not right but work + # FIXME: now we use `half` for upper and lower, may not right but work bbox = ( bbox[0] - item.width / 2, bbox[1] - item.height / 2,