Skip to content

Conversation

@diegomura
Copy link
Owner

@diegomura diegomura commented Jun 20, 2022

Supports passing an array of excludedRects to textkit.layoutText function to support elements wrapping text via the float CSS property

Screen Shot 2022-06-20 at 00 00 39

@diegomura diegomura force-pushed the dm/textkit-exclude-rects branch from 3d117c2 to 2be6d6b Compare June 20, 2022 03:13
@diegomura diegomura merged commit 37a9a74 into master Jun 20, 2022
@diegomura diegomura deleted the dm/textkit-exclude-rects branch June 20, 2022 03:18
carlobeltrame added a commit to carlobeltrame/react-pdf that referenced this pull request Jul 5, 2022
Bug was introduced in diegomura#1895
Error message: TypeError: rect2 is undefined (or similar)
In case there is no rect left for the text to flow to, we have to stay in the last one and overflow its bottom.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants