Skip to content

UNICODE font justification support#83

Closed
backslash47 wants to merge 1 commit into
danfickle:open-dev-v1from
backslash47:open-dev-v1
Closed

UNICODE font justification support#83
backslash47 wants to merge 1 commit into
danfickle:open-dev-v1from
backslash47:open-dev-v1

Conversation

@backslash47

Copy link
Copy Markdown
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
Copy Markdown
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
Copy Markdown
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