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

Accented Letters composed of Unicode base letter and combining accent are rendered incorrectly. #442

Closed
vk-github18 opened this issue Oct 28, 2020 · 1 comment · Fixed by #455
Labels

Comments

@vk-github18
Copy link
Contributor

Describe the bug

The position of the accents is incorrect for most of the character sequences
defined in the following specification:

DIN SPEC 91379: Characters in Unicode for the electronic processing of names
and data exchange in Europe; with digital attachment
https://www.xoev.de/downloads-2316#StringLatin
https://www.din.de/de/wdc-beuth:din21:301228458

E.g. with 0041 030B LATIN CAPITAL LETTER A WITH COMBINING DOUBLE ACUTE ACCENT
the accent appears at the right hand side of the letter A, not above the
letter A.

To Reproduce
The output of LibrePdf/OpenPdf 1.3.22 is appended in din-spec-91379-openpdf.pdf,
which is created by running OpenPdfTest.java using pdf-form.pdf.

Expected behavior
The correct rendering should look like the output of Harfbuzz hb-view 2.6.8
for din-spec-91379-hb-view-2.6.8.txt, see din-spec-91379-hb-view-2.6.8.pdf.
Harfbuzz uses the info in the OpenType GPOS table for positioning.

Screenshots
none

System (please complete the following information):

Additional context
See also
https://issues.apache.org/jira/browse/PDFBOX-4951
https://issues.apache.org/jira/browse/FOP-2969
https://github.com/googlefonts/noto-fonts/issues/1882

@asturio
Copy link
Member

asturio commented Nov 2, 2020

Pull Request are welcome :-) !

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants