Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Extra trailing gap on centered/right-aligned text when kerning is enabled #1429

Unanswered
balaji-pc asked this question in Q&A
Discussion options

Hi team,
I’m seeing unexpected spacing when kerning is enabled via the LayoutProcessor. Left-aligned text looks correct, but centered and right-aligned text show an extra gap between the last glyph on a line and the right boundary of the text box (effectively shifting the visually aligned edge).

Summary
With kerning enabled, left alignment renders as expected.
With center/right alignment, each line ends with a visible gap to the right edge of the layout box (EOL to box edge)

Attaching the sample right side aligned textbox with LayoutProcessor enabled
Expected:
1004A-MY-renderedTextBox copy

generated:
openpdf-3 0 0-response

here is the overlay diff:
overlay-diff copy

You must be logged in to vote

Replies: 0 comments

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
1 participant

AltStyle によって変換されたページ (->オリジナル) /