From 38e2508714d3d127113e9cdff3a5a80f0c66f545 Mon Sep 17 00:00:00 2001 From: Michael Lissner Date: Thu, 21 Oct 2021 15:05:12 -0700 Subject: [PATCH] feat(docs): Adds CHANGES.md and a note re draw order Fixes #38 --- CHANGES.md | 15 +++++++++++++++ README.md | 1 + 2 files changed, 16 insertions(+) create mode 100644 CHANGES.md diff --git a/CHANGES.md b/CHANGES.md new file mode 100644 index 0000000..6d401b4 --- /dev/null +++ b/CHANGES.md @@ -0,0 +1,15 @@ +## Current + +### v0.2.1, 2021-10-21 + +Fixes [issue 38](https://github.com/freelawproject/x-ray/issues/38) by adding +analysis for the draw order of text and rectangles. This ensures that +rectangles under text are not detected as bad redactions. + + +## Past + +### v0.2.0, 2021-09-14 + +Add support for bytes as input, making it easier to check files that are not +on disk. This is common when downloading a file, for example. diff --git a/README.md b/README.md index d3d690f..1acb25d 100644 --- a/README.md +++ b/README.md @@ -119,6 +119,7 @@ Things get tricky in a couple places: - letters without [ascenders][asc] are taller than they seem and might not be entirely under the rectangle - drawings in PDFs can contain multiple rectangles - text under redactions can be on purpose (like if it says "XXX" or "privileged", etc) + - text on top of rectangles is very common in forms, so we use the draw order of the PDF to detect this And so forth. We do our best.