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🎫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.
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.