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

UNICODE font justification support #83

Closed
wants to merge 1 commit into from

Conversation

backslash47
Copy link
Contributor

Text justification implemented in #3 will not work if using UNICODE fonts.

The reason is that Tw parameter (word spacing) is ignored for non simple fonts as defined in pdf standard at https://www.adobe.com/content/dam/Adobe/en/devnet/acrobat/pdfs/PDF32000_2008.pdf#651 page 253.

Therefore I reused the code from old iText output device which solved this problem.

@backslash47 backslash47 closed this Apr 9, 2017
@backslash47
Copy link
Contributor Author

The resulting pdf will work only in some pdf viewers. I have prepared a solution, but unfortunatelly it needs support from pdfbox. Therefore I made a pull request for pdfbox.

@danfickle
Copy link
Owner

Thanks @backslash47 for looking at this. Hopefully, you can provide another pr when supported by pdfbox. Thanks again.

@danfickle danfickle mentioned this pull request Jan 16, 2018
23 tasks
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.

3 participants