Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Text wrap rules changed? #999

Closed
iAmcDiddy opened this issue May 17, 2017 · 2 comments
Closed

Text wrap rules changed? #999

iAmcDiddy opened this issue May 17, 2017 · 2 comments

Comments

@iAmcDiddy
Copy link

I just upgraded from 0.1.17 to 0.1 28

One data value that is going into (a fixed-width column of) a table looks like this:
43.0554700,-76.0633570,75.00 m,0.00 m,,Unknown,0,0

in version 17 the value wrapped like this in the PDF:
43.0554700,-76.
0633570,75.00 m,0.00
m,,Unknown,0,0

in version 28 the same value is being wrapped like this in the PDF:
43.0554700,-76.0633570,75.00
m,0.00 m,,Unknown,0,0

That change causes overlap as shown below. Is this a known issue?
image

@liborm85
Copy link
Collaborator

In version 0.1.23 was added the Unicode Line Breaking Algorithm (UAX #14) for splitting words. Some texts are now wrapped in different ways.
Problem with wrapping long words is known issue #204, it was fixed (see #204 (comment)). The fix will be in a new version.

@scottyh527
Copy link

Can someone explain how text wrapping is handled currently, I'm looking to do a function if text starts to wrap to create a stack, any help would be great

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

No branches or pull requests

3 participants