Summary:
[LinuxAS] Style (underline and strikeout) can not apply to the chart in layout.
Bugzilla Bug (s) Resolved: 148507
Description:
Problem:
Underline and
Strikeout font styles cannot display in layout/chart builder on Linux.
Investigation:
Fonts on Linux
don't have the underline or strikeout style. That's a Windows concept.
Resolution:
1. Draw the underline
and strikeout line manually in both renderHorizontalText (R31Enhance = true or
false) and rotatedTextAsImage.
2. Remove platform dependent code in SWTDisplayServer.
Tests
Description: Test on windows.
Files
Edited:
/org.eclipse.birt.chart.device.swt/src/org/eclipse/birt/chart/device/swt/SwtDisplayServer.java
/org.eclipse.birt.chart.device.swt/src/org/eclipse/birt/chart/device/swt/SwtTextRenderer.java
Files
Added: None
Files
Deleted: None
Notes
to Build Team: None
Notes to
Developers: None
Notes
to QA: Please
test the Text Fonts (underline and strikeout) on both Windows and Linux environment.
Please rotate the text to verify whether the underline and strikeout can be
applied in the correct position.
Notes
to Documentation: None