Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[birt-dev] Checkin: Fix Bugzilla Bug 197742: Underline does not take effect when preview as POSTSCRIPT.

- Summary:

Fix Bugzilla Bug 197742: Underline does not take effect when preview as POSTSCRIPT.

 

- Bugzilla Bug(s)

197742

 

- Description:

When a <u> tag is encountered in a dynamic text item/auto text item, underline property should be set to the style of corresponding text content. Previously, this is done by merge original style of the text content with a style parsed from style string “text-decoration: underline” by flute. However, flute can’t parse the text decoration from the style string, so the underline is not applied to corresponding text content.

 

Current solution is setting the underline into style directly instead of setting a style parsed from a style string. The bug also occurs when <del> tag, which will define line-through, is used.

 

After this bug is fixed, <u> and <del> should work.

 

- Tests Description:

 

- Notes to Build Team:

 

- Notes to Developers:

 

- Notes to QA:

 

- Notes to Documentation:

 

- Files Edited:

/org.eclipse.birt.report.engine/src/org/eclipse/birt/report/engine/layout/pdf/util/HTML2Content.java

 

- Files Added:

/org.eclipse.birt.report.engine/src/org/eclipse/birt/report/engine/layout/pdf/util/StyleProcessor.java

 

-Jun Ouyang

 


Back to the top