Skip to content

Honor X positions in glyph vectors - #1618

Open
dadza wants to merge 1 commit into
LibrePDF:1.3-java8from
Jaspersoft:1.3-java8-glyph-vector-x-positions
Open

Honor X positions in glyph vectors#1618
dadza wants to merge 1 commit into
LibrePDF:1.3-java8from
Jaspersoft:1.3-java8-glyph-vector-x-positions

Conversation

@dadza

@dadza dadza commented Aug 20, 2026

Copy link
Copy Markdown
Contributor

Description of the new Feature/Bugfix

The PdfContentByte.showText(GlyphVector) does not take into accounts X positions in the glyph vector. That causes mispositioned glyphs for some complex scripts fonts.

Unit-Tests for the new Feature/Bugfix

The following test produces a PDF document with a Devanagari word. The final "e matra" glyph is positioned slightly incorrectly due to X positioned being ignored in the glyph vector.

ComplexScriptGlyphVector.java

Thank you,
Lucian Chirita

@dadza dadza changed the title honor X positions in glyph vectors Honor X positions in glyph vectors Aug 20, 2026
@codacy-production

Copy link
Copy Markdown

Not up to standards ⛔

NEW Get contextual insights on your PRs based on Codacy's metrics, along with PR and Jira context, without leaving GitHub. Enable AI reviewer
TIP This summary will be updated as you push new changes.

@sonarqubecloud

Copy link
Copy Markdown

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.

2 participants