You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@poi.apache.org by bu...@apache.org on 2012/02/22 13:14:10 UTC
DO NOT REPLY [Bug 52164] Problems with accents and master page font
https://issues.apache.org/bugzilla/show_bug.cgi?id=52164
Yegor Kozlov <ye...@dinom.ru> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |NEEDINFO
Severity|critical |major
--- Comment #3 from Yegor Kozlov <ye...@dinom.ru> 2012-02-22 12:14:10 UTC ---
I can't reproduce it. Here is my test code and all accents are OK in the
output:
SlideShow ppt = new SlideShow();
Slide slide = ppt.createSlide();
TextBox shape = new TextBox();
RichTextRun rt = shape.getTextRun().getRichTextRuns()[0];
shape.setHorizontalAlignment(TextBox.AlignLeft);
rt.setFontName("Times New Roman");
shape.setText("Helloworld é è ë ê à ö ï î ô ü û");
rt.setFontSize(16);
shape.setAnchor(new java.awt.Rectangle(495, 375, 210, 115));
slide.addShape(shape);
FileOutputStream out = new FileOutputStream("52164.ppt");
ppt.write(out);
out.close();
Can you post Java code that generates problematic output with missing accents?
if it requires a template, then attach it as well.
Yegor
--
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: dev-unsubscribe@poi.apache.org
For additional commands, e-mail: dev-help@poi.apache.org