Summary: More control over the {left-to-right, right-to-left, top-to-bottom, bottom-to-top} direction that pdfplumber
reads/writes text (many thanks to @afriedman412 for the idea and prototype in #1040), plus upgrading to pdfminer.six
's latest release (which provides more detailed paths for curves), and some fixes.
Added
- Add
{line,char}_dir{,rotated,render}
params, to provide better support for non–top-to-bottom, left-to-right text (h/t @afriedman412). (850fd45) - Add
curve["path"]
andcurve["dash"]
, thanks topdfminer.six
upgrade (see below). (1820247)
Changed
- Upgrade
pdfminer.six
from20221105
to20231228
. (cd2f768) - Change value of in
word["direction"]
from{1,-1}
to{"ltr","rtl","ttb","btt"}
. (850fd45) - Deprecate
vertical_ttb
,horizontal_ltr
in favor ofchar_dir
andchar_dir_rotated
.(850fd45)