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

Fixed bugs #73, #86, #90 #106

Merged
merged 1 commit into from
Dec 17, 2018
Merged

Conversation

protspace
Copy link

@protspace protspace commented Dec 3, 2018

Fixed bugs with wrong layout when content is near the end of the page #73 (comment)
Also could be related to #86, #90

    //bug #1
    document.addSpace(space: 600)
    let section = PDFSection(columnWidths: [0.33, 0.34, 0.33])
    section.columns[0].addText(text: "Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua.")
    document.addSection(section)

    document.addText(text: "this text positioned in a wrong way")

http://prntscr.com/l75rk5

    //bug #2
    document.addSpace(space: 670)
    document.addSpace(space: 70)
    document.addText(text: "this text positioned in a wrong way")

http://prntscr.com/lqac12

@philprime philprime merged commit 654e168 into techprimate:develop Dec 17, 2018
@philprime philprime mentioned this pull request Dec 17, 2018
@philprime philprime mentioned this pull request Jan 22, 2019
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.

None yet

3 participants