https://issues.apache.org/bugzilla/show_bug.cgi?id=52516
Bug #: 52516
Summary: Wrong font displayed in ppt
Product: POI
Version: 3.8-dev
Platform: PC
Status: NEW
Severity: critical
Priority: P2
Component: HSLF
AssignedTo: [email protected]
ReportedBy: [email protected]
Classification: Unclassified
Slide slide = slideShow.createSlide();
TextBox shape = new TextBox();
RichTextRun rt = shape.getTextRun().getRichTextRuns()[0];
shape.setHorizontalAlignment(TextBox.AlignLeft);
rt.setFontName("Times New Roman");
shape.setText("testingöäåendtesting");
rt.setFontSize(12);
shape.setAnchor(new java.awt.Rectangle(495, 375, 210, 115));
slide.addShape(shape);
This adds a textbox in a powerpoint slide where"testing" and "endtesting" is in
the font Times New Roman, but the string "öäå" is in the font Arial.
--
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]