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

Detection of underline in Adobe Reader #2410

Closed
nvaccessAuto opened this issue Jun 5, 2012 · 1 comment
Closed

Detection of underline in Adobe Reader #2410

nvaccessAuto opened this issue Jun 5, 2012 · 1 comment

Comments

@nvaccessAuto
Copy link

Reported by jteh on 2012-06-05 00:44
(Spun off #2175.)

NVDA currently can't detect underlining in Adobe Reader documents. Adobe Reader doesn't seem to communicate this along with other font info; there is no PDDOM_FONTATTR_* constant for underline. In addition, PDF apparently doesn't actually have the concept of underlined text. However, there is a Layout attribute "TextDecorationType" which should have a value of "Underline" for underlined text.

Kevin Chao provided text.pdf:ticket:2175" this test case. The underlined text is in the paragraph that starts with “The causes of the school dropout problem have received…”.  Dropout is underlined.  Continue on in the paragraph and “effects” is underlined. There are also a few other underlined words.

@nvaccessAuto
Copy link
Author

Comment 2 by jteh on 2012-06-05 03:42
Done in c6a0c7d. I implemented strikethrough while I was at it,f as it is detected in the same way.
Changes:
State: closed

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

No branches or pull requests

2 participants