When a line element is given a pen of dashed, subsequent elments that are underlined share that stroke when exported to pdf. To reproduce:
Create a simple report with all elements listed here in column header:
1. Create 2 static text elements.
2. Set these elements to be underlined.
3. Create a line element. Graphic -> Pen = dotted.
4. Create 1 or more subsequent static text elements, assigning each to be underlined.
5.Run the report with an empty data source, the output should have the first two elements with a solid underline, a dashed/dotted line, and then 1 or more other text elmenets underlined, but for these elements, the line is not solid.. its a dash. See the attached sample report for an example of this. Occurrs in Jasper 1.2.5, 1.2.6 using JRE 1.5.0_06 when exported to pdf either programaticially or through iReports/JasperAssistant.