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

Word spacing incorrect for different text styles #10

Open
abeverley opened this issue Jan 30, 2021 · 0 comments
Open

Word spacing incorrect for different text styles #10

abeverley opened this issue Jan 30, 2021 · 0 comments

Comments

@abeverley
Copy link

The spacing for words is defined based on the default font. So if a different size font is used for a different style, that style inherits the word-spacing for the smaller font in the default style. This happens in apply() withe the code my $space_width = $content_text->advancewidth(' ');

Note: I have worked around this in my application (using CtrlO::PDF) so I am really just opening the issue here for the record.

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

1 participant