-
Notifications
You must be signed in to change notification settings - Fork 5
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
(URGENT) PDF accessibility: words containing underscores being broken into multiple words in PDF content text #870
Comments
@ronaldtse Apache FOP doesn't add line feed after the underscore character automatically, and may be cases when text renders overflowed: therefore XSLT adds zero-width space after each In Intermediate Format, the text <font family="Noto Sans Mono"/>
<font family="Courier New"/>
<text x="13200" y="22132" next-is-space="true" foi:struct-ref="a12">the_</text>
<font family="Noto Sans Mono"/>
<font family="Courier New"/>
<text x="39600" y="22132" next-is-space="true" foi:struct-ref="a12">integers </text> Each I'll think about workaround solution. May be we need to omit |
Issue partially fixed in mn2pdf v1.52 (https://github.com/metanorma/mn2pdf/releases/tag/v1.52): |
Is there a way to get rid of this problem? |
At this moment I don't know the solution. I've asked here: https://community.adobe.com/t5/acrobat-discussions/redundant-space-character-in-the-compare-result/td-p/13393538 |
Thanks @Intelligent2013 ! |
Conclusion: This is an Adobe Acrobat "Compare PDFs" bug, it cannot be addressed in Metanorma. |
@stuartgalt : Does the PDF group (ISO/TC 171/SC 2) have some any spec for Compare PDFs? |
This is from ISO 10303-50 (https://github.com/metanorma/iso-10303-detached-docs/tree/main/sources/iso-10303-50):
I remember we never had this problem before, it seems like a regression.
@Intelligent2013 can you add tests against this case?
The text was updated successfully, but these errors were encountered: